MelissaFreel1
5 years agoQrew Cadet
Using Relative Dates and App level variables
Hi all:
I have what I think is a simple problem and I probably have even solved it in the past but would like some help advancing my skills.
I have field that counts records when a particular date falls within or during the fiscal year. This is how it is written right now
If([Date1]>=ToDate("10/01/2019) and [Date1]<=ToDate("09/30/2020), [CountField2],0)
I created an app level variable of CurrentFiscalYear=10/01/2019-09/30/2020 but I am really clueless on how to use it.
I also saw both the XML and URL examples in the API Guide but I really get clueless on which of these I should embed in my field as well as what "type" of field my field should be to use the XML. Formula Numeric??
Any help is appreciated.
Thanks.
------------------------------
Melissa Freel
------------------------------
I have what I think is a simple problem and I probably have even solved it in the past but would like some help advancing my skills.
I have field that counts records when a particular date falls within or during the fiscal year. This is how it is written right now
If([Date1]>=ToDate("10/01/2019) and [Date1]<=ToDate("09/30/2020), [CountField2],0)
I created an app level variable of CurrentFiscalYear=10/01/2019-09/30/2020 but I am really clueless on how to use it.
I also saw both the XML and URL examples in the API Guide but I really get clueless on which of these I should embed in my field as well as what "type" of field my field should be to use the XML. Formula Numeric??
Any help is appreciated.
Thanks.
------------------------------
Melissa Freel
------------------------------