Hi All
I have a parts form built on a simple part details table named table_part.
On this form I have a calculated field that looks at my orders tables and tells me how much the part has been ordered. See code below.
Code:
tablesum("table_shipping_parts","trim(num) = "+quote(table_part->part_num),"qty")
The orders tables layout looks like this.
Table_Orders -> Table_Shipping -> Table_Shipping_Parts
I want to modify the filter on the calculation to exclude orders that have not been shipped. On the Table_Shipping table there is a field called shp_date in which a date is entered when the order is shipped.
I've tried using the below addition but it does not work.
Code:
tablesum("table_shipping_parts","trim(num) = "+quote(table_part->part_num) .And. isnotblank("table_shipping->shp_date"),"qty")
How can I modify the filter to include this?
Bookmarks