I have a report based on a table, 'DATA1'. For each unique groupnbr in 'DATA1' I want to export a report to show only the data for that group number and save the name of the report to be based on the value on the group number.
For example if group number = 1234 then I want the
recordsource of the report to be "DATA1 where grp_nbr = '1234' "
I want the report saved as rpt_grpnbr or rpt_1234
I've been trying to do this via OutputTo method but I'm not an experienced programmer. Thanks for your help. Mike
For example if group number = 1234 then I want the
recordsource of the report to be "DATA1 where grp_nbr = '1234' "
I want the report saved as rpt_grpnbr or rpt_1234
I've been trying to do this via OutputTo method but I'm not an experienced programmer. Thanks for your help. Mike