I have table of customer information. For each record in the
table, I'd like to output it to Snapshot passing in a report
as the type. I'd like to use the same report for every customer.
The problem I'm having in my VB code is that when I loop through
the records and output the report to Snapshot, the information
in the report remains to be the first record. When outputting
the report, it doesn't move to the next record.
I'm new to Access, and I'm not sure as to what I need
for the report to recognize the current record. I've looked in
the newsgroup, but have tried everything from refreshing
to requery, opening the report, closing it. I don't
think I know where I need to put it, or fully
understand how reports work. My VB code
does get input from user. Can any one help?
Here is a sample pseudocode:
Set db = Currendb()
Set rs = db.OpenRecordse t ()
While not rs.EOF
DoCmd.Outputto acReport,report name,acFormatSN P,dir,false
rs.Movenext
End
Thank you,
Nhien
table, I'd like to output it to Snapshot passing in a report
as the type. I'd like to use the same report for every customer.
The problem I'm having in my VB code is that when I loop through
the records and output the report to Snapshot, the information
in the report remains to be the first record. When outputting
the report, it doesn't move to the next record.
I'm new to Access, and I'm not sure as to what I need
for the report to recognize the current record. I've looked in
the newsgroup, but have tried everything from refreshing
to requery, opening the report, closing it. I don't
think I know where I need to put it, or fully
understand how reports work. My VB code
does get input from user. Can any one help?
Here is a sample pseudocode:
Set db = Currendb()
Set rs = db.OpenRecordse t ()
While not rs.EOF
DoCmd.Outputto acReport,report name,acFormatSN P,dir,false
rs.Movenext
End
Thank you,
Nhien
Comment