Hi All,
I am trying to get my form to print the associated report, with the current record only. My expression has been
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.OpenReport "Group Use Permits", acViewNormal, "[Id Number] = " & Forms!Recreation Permit!Id Number
This is producing a syntax error, I haven't been able to figure out why. I need to save the record and print the form with one command.
Any ideas? Thanks.
I am trying to get my form to print the associated report, with the current record only. My expression has been
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.OpenReport "Group Use Permits", acViewNormal, "[Id Number] = " & Forms!Recreation Permit!Id Number
This is producing a syntax error, I haven't been able to figure out why. I need to save the record and print the form with one command.
Any ideas? Thanks.