hi,

using fm7 on a mac. i have a main ordering table (orders.fmp), and this has a related line items table (lineitems.fmp) via a key field called <order number>. there can be up to three line items per order.

i have a report needing to know some summary values based on fields in lineitems.fmp, and can generate the report easily enough. one measure is a count of the number of records in a found set in lineitems.fmp, showing via subsummary in the report as four or five different categories...the four or five categories each return a number counted for themselves, and there's a total of all categories.

however, given more than one line item can have the same <order number>, how can i do a secondary count of order numbers? i want to count each unique <order number> once, and the multiples not at all. i've thought of a couple of complicated scripts, but don't really feel like those should be necessary.

any help would be appreciated.
thanks,
bill


Bill Kasper
Digital Printing Specialist
UCSC Printing Services

Reply via email to