Forum Discussion
AnneMartin
3 years agoQrew Trainee
It returns the formula query now: {GetFieldValues(GetRecords($myquery),8)}
All my dates are in mm/dd/yyyy format.
------------------------------
Anne Martin
------------------------------
All my dates are in mm/dd/yyyy format.
------------------------------
Anne Martin
------------------------------
MarkShnier__You
Qrew Legend
3 years agocan you post a screen shot of what the string looks like?
------------------------------
Mark Shnier (Your Quickbase Coach)
[email protected]
------------------------------
------------------------------
Mark Shnier (Your Quickbase Coach)
[email protected]
------------------------------
- AnneMartin3 years agoQrew Trainee
------------------------------
Anne Martin
------------------------------- MarkShnier__You3 years ago
Qrew Legend
:) no wonder why it's not working.
Change both your formulas to remove the outer quotes and the curly brackets..
//FID 8 = pay date
var text myquery= "{8.GTE.'"&[First of Month]&"'} AND {8.LTE.'"&[Last of Month]&"'}";
var text querya= GetFieldValues(GetRecords($myquery),8);
$querya
and maybe the full form,ula will work thius way.
//FID 8 = pay date
var text myquery= "{8.GTE.'"&[First of Month]&"'} AND {8.LTE.'"&[Last of Month]&"'}";
var text querya= GetFieldValues(GetRecords($myquery),8);
Max(
ToDate(Part(ToText($querya),1,";")),
ToDate(Part(ToText($querya),2,";")),
ToDate(Part(ToText($querya),3,";")),
ToDate(Part(ToText($querya),4,";")))
------------------------------
Mark Shnier (Your Quickbase Coach)
[email protected]
------------------------------- AnneMartin3 years agoQrew TraineeWonderful! That worked!
I didn't realize the quotes and curly brackets were because of the formula query, and thought they were needed for the variable.
Thanks!
------------------------------
Anne Martin
------------------------------