R
Rivers
ok im starting to get the hang of passing queries through the wherecondition
instead of queries but this one has me stumped
my code
Dim stDocName, strdate As String
strdate = "[Date to Arrive] =" & Me![Text28]
stDocName = "Time Details1"
DoCmd.OpenReport stDocName, acPreview, , strdate
i added a watch to strdate which comes back
"[Date to Arrive] = 19/10/2007"
so i no that its picking up the correct date however the report returns
blank!!!
i know the records are there for this date so i checked if the date
formating was the same this checked out the same as well. im stumped stuck
and starting to get well you get the jist
any help would be great
instead of queries but this one has me stumped
my code
Dim stDocName, strdate As String
strdate = "[Date to Arrive] =" & Me![Text28]
stDocName = "Time Details1"
DoCmd.OpenReport stDocName, acPreview, , strdate
i added a watch to strdate which comes back
"[Date to Arrive] = 19/10/2007"
so i no that its picking up the correct date however the report returns
blank!!!
i know the records are there for this date so i checked if the date
formating was the same this checked out the same as well. im stumped stuck
and starting to get well you get the jist
any help would be great