MS Access - Forms

N

Nicole

I have a form for data entry, when the data is entered in the form fields and
before I tab to enter the next record I want to print this information as a
label to be attached to a cardboard folder. The report I have created shows
all the records in the table attached to the form rather than just the record
on screen. How do I set the DoCmd.OpenReport function to just display that
record on screen?
 
J

Jeff Boyce

Nicole

Use Access HELP to learn more about the syntax of

DoCmd.OpenReport

One of the components allows you to specify a "WHERE" clause ... that's
where you'd tell Access to open the report, but ONLY for the record (ID)
showing on the form.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top