Hi,
I am using someone elses code and I am struggling to get it to so what I want, could you help please.
We use dd/mm/yyyy but I cannot figure out how and where I tell it this. In the Code it states to "Use the format string to add the # delimiters and get the right international format." But where do I put the # delimiters?
Thanks in advance,
Andy
I am using someone elses code and I am struggling to get it to so what I want, could you help please.
Code:
Const conJetDate = "\#mm\/dd\/yyyy\#" 'The format expected for dates in a JET query string.
'Date field example. Use the format string to add the # delimiters and get the right international format.
If Not IsNull(Me.txtStartDate) Then
strWhere = strWhere & "([Job_Date] >= " & Format(Me.txtStartDate, conJetDate) & ") AND "
End If
Thanks in advance,
Andy