G
Guest
Hi,
I have a form that contains three fields per record, the fields are:
[CUSTREF]
[CUSTNAME]
[BALANCE]
They basically show those customers that have a balance of >0 from the
underlying table.
I have a report that is in the format of a customer statement that links the
table from the form above with the customer master file.
What I need to do, is from a button on another form (like a control panel)
is open the form detailed above and basically scroll through each record,
opening the statement report on each record and printing it. I have written
the code to open the report based on the selected record and print it and
close. But I cannot return to the form and move to the next record to repeat
the process. I would also like it to stop after the last record and close
down.
Can anyone help?
I have a form that contains three fields per record, the fields are:
[CUSTREF]
[CUSTNAME]
[BALANCE]
They basically show those customers that have a balance of >0 from the
underlying table.
I have a report that is in the format of a customer statement that links the
table from the form above with the customer master file.
What I need to do, is from a button on another form (like a control panel)
is open the form detailed above and basically scroll through each record,
opening the statement report on each record and printing it. I have written
the code to open the report based on the selected record and print it and
close. But I cannot return to the form and move to the next record to repeat
the process. I would also like it to stop after the last record and close
down.
Can anyone help?