R
RipperT
I am using the Microsoft Date and Time Picker Control 6.0 (SP4) with MS
Access 2002 (SP2) and it is not working. I am using the below code which
works fine until I replace the txtDate textbox with the date picker named
DTPicker9. Then, the On No Data event fires in the report. Using the same
criteria, except with a Date Picker instead of a text box.
Dim stDocName As String
stDocName = "rptInCount"
DoCmd.OpenReport stDocName, acViewPreview, , _
"(qryIncount.CountDate =
Forms![frmSelectIncountTime]![txtDate]) " _
& "and (qryIncount.CountTime =
Forms![frmSelectIncountTime]![cboCountTime])"
I'm fuzzy on the version #'s and service packs. Are they the trouble?
Many thanx,
Ripper
Access 2002 (SP2) and it is not working. I am using the below code which
works fine until I replace the txtDate textbox with the date picker named
DTPicker9. Then, the On No Data event fires in the report. Using the same
criteria, except with a Date Picker instead of a text box.
Dim stDocName As String
stDocName = "rptInCount"
DoCmd.OpenReport stDocName, acViewPreview, , _
"(qryIncount.CountDate =
Forms![frmSelectIncountTime]![txtDate]) " _
& "and (qryIncount.CountTime =
Forms![frmSelectIncountTime]![cboCountTime])"
I'm fuzzy on the version #'s and service packs. Are they the trouble?
Many thanx,
Ripper