Forum Discussion
JeffPeterson1
4 years agoQrew Captain
It should be like this:
var text QUERY = "{48.OAF.'" & [Date Field] & "'}AND{48.OBF.'" & LastDayOfMonth([Date Field]) & "'}";
Keep in mind that if your [Date Field] is a date/time field you'll need to convert it using ToDate()
Also you have 'OAB' instead of 'OBF' in your query.
------------------------------
Jeff Peterson
------------------------------
var text QUERY = "{48.OAF.'" & [Date Field] & "'}AND{48.OBF.'" & LastDayOfMonth([Date Field]) & "'}";
Keep in mind that if your [Date Field] is a date/time field you'll need to convert it using ToDate()
Also you have 'OAB' instead of 'OBF' in your query.
------------------------------
Jeff Peterson
------------------------------