Hi,
I'm trying to create a report that has some fields from a parent table in a group band and for each of those records, display some related records from a child table. But I only want CERTAIN records from the child table in the detail (due_dt>{07/01/2010})
I'm on a pre-packaged database built on FoxPro. I'm new to VFP and still learning, but I'm pretty sure all I have access to is the report designer, which is what I'm using.
Anyway, I'm not really sure where to put the expression to filter the detail rows. Specifying this in "Print When" for each field in the detail row gets rid of the fields, but leaves empty rows (even with "skip row if empty" checked). I suspect I should enter this either in the expression field for "target alias" or for "run expression on entry" under edit bands -> detail. But not sure.
Another user's solution was this: "I remembered there is a field for a 'scoping' clause used when there is an intermediary form for selecting a date range or something, and I slipped in the 'AND txncode="810"' and of course [the empty rows] are now gone." (
Is this what I should do? Anyway care to explain this just a little for the newbie? I really appreciate any guidance! Thanks,
Sam
I'm trying to create a report that has some fields from a parent table in a group band and for each of those records, display some related records from a child table. But I only want CERTAIN records from the child table in the detail (due_dt>{07/01/2010})
I'm on a pre-packaged database built on FoxPro. I'm new to VFP and still learning, but I'm pretty sure all I have access to is the report designer, which is what I'm using.
Anyway, I'm not really sure where to put the expression to filter the detail rows. Specifying this in "Print When" for each field in the detail row gets rid of the fields, but leaves empty rows (even with "skip row if empty" checked). I suspect I should enter this either in the expression field for "target alias" or for "run expression on entry" under edit bands -> detail. But not sure.
Another user's solution was this: "I remembered there is a field for a 'scoping' clause used when there is an intermediary form for selecting a date range or something, and I slipped in the 'AND txncode="810"' and of course [the empty rows] are now gone." (
Is this what I should do? Anyway care to explain this just a little for the newbie? I really appreciate any guidance! Thanks,
Sam