When importing, the Microsoft driver despite the fact that the field is long text evaluates the imported data on the first 8 lines. If the data in them is less than 255 characters, it considers them as short text and everything further is cut off accordingly.
The same applies to any other data...
If your regional date format is different from MM/DD/YYYY - try this:
=DCount("Quoted","tblJobRefBook","[JobStatus] = 'Quoted' AND QuotedDate >=" & Format(Date()-30, "\#mm\/dd\/yyyy\#"))
Wrong!!!
In my opinion you should take the argument from current record of open Recordset - not from current record of subform.
... "' and endt_num =" & Rs!endt_num & ";"
What about the space character?
SELECT * FROM [YourTableName]
WHERE ([YourFieldName] Like "*[!A-Z,a-z,0-9]*");
With space character exception:
SELECT * FROM [YourTableName]
WHERE ([YourFieldName] Like "*[!A-Z,a-z, ,0-9]*");
This won't be a problem, since you can also use the function in your code.
Private Sub ObjectName_GotFocus()
FRMControlFocusInOut Me.Name, True 'Highlighting Control
' your code ...
End Sub
Private Sub ObjectName_LostFocus()
FRMControlFocusInOut Me.Name, False 'Highlighting Control...