Forum Discussion
MarkShnier__You
Qrew Legend
4 years agoThere might be a fancier way using Jinja, but a low tech solution is to create any date formula fields you need in native QuickBase in that same table and then you will have a field to compare to.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
- QuickBaseJunkie4 years agoQrew CaptainPaul, it looks like you found your solution.
Here's the Jinja info for anyone looking to take that approach.
Get the Jinja Date & Time Cheat Sheet mentioned in this video.
------------------------------
Quick Base Junkie
------------------------------- BrittanyScheid3 years agoQrew CadetI have been trying to use this for entering in today's date (EST) into date fields several times now in different pipelines, and I keep getting the below error. I made sure to copy and paste the formulas directly from the cheat sheet, but no luck. Any help would be greatly appreciated!
------------------------------
Brittany Zane
------------------------------- QuickBaseJunkie3 years agoQrew CaptainHi @Brittany Zane
Thanks for posting this. It appears the behavior in Step A with regards to dates has changed. I previously used and tested the code that you are using and now I too am getting the validation error.
I have not yet found a proper workaround. It looks as though the Pipeline wants a format similar to "2022-04-18T00:00:00+00:00" even if it is just a Date field.
I will post an update when/if I'm able to resolve this with Jinja.
In the meantime I would suggest using an Advanced Query instead as it is simple to use 'today' in the query such as:{7.EX.'1'}AND{8.EX.'today'}
Where 7 would be replaced with the field ID for your Proposal Log - Deposit Required field and 8 would be replaced with the field ID for Fiscal Year End.
Please note you will need to delete all of the Queries you have Step A now, in order to access the Advanced Query (just above the existing Queries).
For more on Queries: https://www.quickbasejunkie.com/blog/query-writing-101
------------------------------
Quick Base Junkie
------------------------------
- PaulPeterson14 years agoQrew Assistant CaptainThere is no way to compare a field there, but now that you mention that idea, I could create a formula checkbox to see if the date is yesterday. and now that I think of it, I can't set the date to the next day like I am currently because that would set change the dates from Friday to Saturday. I'll need to change the dates to the next business day....sorry, just thinking out loud. Thanks for stirring my thoughts in the right direction!
------------------------------
Paul Peterson
------------------------------- MarkShnier__You4 years ago
Qrew Legend
I'm pretty sure you can drag a field into that box. But it sounds like you are back on track now.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------- PaulPeterson14 years agoQrew Assistant CaptainAs it turned out, it was easier to create a formula checkbox. That way I could roll all of the conditions into 1 field and only needed 1 condition. Sometimes brute force is the simplest solution ; )
------------------------------
Paul Peterson
------------------------------