Forms to Reports

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I create a command button that will find a particluar item on a Form - say Store Name, and have it print to the report that equals that Store Name?
 
Once you have the appropriate record displayed on the form, issue the
following code:
DoCmd.OpenReport "rptMyReport", acViewPreview, , "[StoreID] = " &
Me!txtStoreID

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Fed Up said:
How do I create a command button that will find a particluar item on a
Form - say Store Name, and have it print to the report that equals that
Store Name?
 
Back
Top