Opening a report

G

Guest

Hello,

Im trying to open a report using a print buton and restrict its records to
the value of a text box on a form. Under a print button I have this code

DoCmd.OpenReport "rpt_SelectMemberRequest", acViewPreview, memberID =
Forms!frm_memberOverrideRequest!txtMemberID

Im getting all the records. I only want the records that match the value in
the text box. Does anyone know how to do this?
 

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