Private Function GetListValues() As Variant
Dim sVal$, idx%
For idx = 0 To Me.lstDefects.ListCount - 1
If Me.lstDefects.Selected(idx) = True Then
sVal = sVal & csDelimeter & Me.lstDefects.ItemData(idx)
End If
Next idx
If Len(sVal) > Len(csDelimeter)...
Public Function GetLatestDate(Optional sWhereCondition As String = "")
'Usage:
' ?GetLatestDate("RecID = 23")
'---------------------------------------------------------------------------------------------------
' Name of table with fields "Phone", "Email" & "Text" ("Text" is reserved word !!!)...
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]*");