G
Guest
ok, i am passing values from a list to try and generate a report. i have the
current code on the form i am getting my value from.
DoCmd.OpenReport "Detailed_School", acViewPreview, acWindowNormal,
OpenArgs:=strID
on my report i have the following:
Private Sub Report_Open(Cancel As Integer)
Dim strID As String
strID = Me.OpenArgs
End Sub
and lastly, my query that the report runs off of:
SELECT [SchoolDB].*
FROM [SchoolDB]
WHERE ((([SchoolDB].ID)=Reports!rptDetails!strID));
when i run the forums, i get a blank report. what am i missing?
thanks,
Bryan
current code on the form i am getting my value from.
DoCmd.OpenReport "Detailed_School", acViewPreview, acWindowNormal,
OpenArgs:=strID
on my report i have the following:
Private Sub Report_Open(Cancel As Integer)
Dim strID As String
strID = Me.OpenArgs
End Sub
and lastly, my query that the report runs off of:
SELECT [SchoolDB].*
FROM [SchoolDB]
WHERE ((([SchoolDB].ID)=Reports!rptDetails!strID));
when i run the forums, i get a blank report. what am i missing?
thanks,
Bryan