![]() |
Sergey Kornilov admin 12/29/2015 |
The most reliable way to do so is to perform a SQL query manually retrieving the number of details records that belong to this specific master record. If you have multiple details tables you will have to execute one SQL query for each table. $num = DBLookup("select count(*) from OrderDetails where OrderID = " . $values["OrderID]);
|