G
Guest
My problem is I would like to open a form where the result of text box which is in format dd/mm/yyy hh:mm am/pm matches the date in another field in separate form which also has format dd/mm/yyy hh:mm am/pm but want to show all of same date regardless of time .I would like to ignore time element of field
can I modify following to do this? or how do I do it
Private Sub Command38_Click(
On Error GoTo Err_Command38_Clic
Dim stDocName As Strin
Dim stLinkCriteria As Strin
stDocName = "CHECK DATE
stLinkCriteria = "[BookTime]=" & "#" & Me![TempBookTime] & "#
DoCmd.OpenForm stDocName, , , stLinkCriteri
Exit_Command38_Click
Exit Su
Err_Command38_Click
MsgBox Err.Descriptio
Resume Exit_Command38_Clic
End Su
hope this makes sense
Thanks
can I modify following to do this? or how do I do it
Private Sub Command38_Click(
On Error GoTo Err_Command38_Clic
Dim stDocName As Strin
Dim stLinkCriteria As Strin
stDocName = "CHECK DATE
stLinkCriteria = "[BookTime]=" & "#" & Me![TempBookTime] & "#
DoCmd.OpenForm stDocName, , , stLinkCriteri
Exit_Command38_Click
Exit Su
Err_Command38_Click
MsgBox Err.Descriptio
Resume Exit_Command38_Clic
End Su
hope this makes sense
Thanks