That gives me the error Cant find sheet '|' ...
here is a demo file with the structure. Put it on utteraccess, couldnt seem to get it to work either.
http://www.utteraccess.com/forums/download.php?Number=628247
Here is the code. With the table with brackets...
Private Sub report_Click()
stDocName = "Bill"
DoCmd.OpenReport stDocName, acPreview, "[tblMaster Sheet]_PatientID = "&Me.tbl[Master Sheet]_PatientID
End Sub
The error is a compile error
Here is my code
DoCmd.OpenReport stDocName, acPreview, "tblMaster Sheet_PatientID = "&Me.tblMaster Sheet_PatientID
the current form is a form with a subform. the 2 tables.
Master -table primary key PatientID
Visit -table for patient visit, but it pulls data from Codes
Codes -table with all...
Can someone explain this more...?
Is the
DoCmd.OpenReport stDocName, acPreview, , "tblclient_jobnumber = " & Me.tblclient_jobnumber
the code for the report button? Thats what it looks like, but i seem to be getting an error.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.