Forum Discussion
JeffPeterson1
3 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
------------------------------
AmberGartner
3 years agoQrew Cadet
I think I may have replied to you directly before somehow... but I did update the OAB to OBF -- THANK YOU for that. I had to keep in the FirstDayOfMonth formula in order for it to work, but then also changing the OR (back) to AND worked as well. So again, thank you thank you!!
------------------------------
Amber Gartner
------------------------------
------------------------------
Amber Gartner
------------------------------