Rules2liveby
MIS
A Table has a field called [Callback] as Datetime (8) which is on SQL Server 2000
I would like to call a form and filter based on this field from an unbound text box in the current form called txtCallbackdate
A watch on stLinkCriteria = "[Callback] = 24/05/2004" (which I would expect)
I have used the following VB String:
stLinkCriteria = "[Callback] = " & CDate(Me.txtCallbackdate)
stDocName = "frmMarketingList"
DoCmd.OpenForm stDocName, , , stLinkCriteria
My problem is that the resulting form returns no rows... I have checked that a manual SQL query filtering in the same way does return several rows...
Please help...
Patrick
I would like to call a form and filter based on this field from an unbound text box in the current form called txtCallbackdate
A watch on stLinkCriteria = "[Callback] = 24/05/2004" (which I would expect)
I have used the following VB String:
stLinkCriteria = "[Callback] = " & CDate(Me.txtCallbackdate)
stDocName = "frmMarketingList"
DoCmd.OpenForm stDocName, , , stLinkCriteria
My problem is that the resulting form returns no rows... I have checked that a manual SQL query filtering in the same way does return several rows...
Please help...
Patrick