declare problem
Jose Lerebours
fpgroups at gmail.com
Mon Jan 10 13:03:34 PST 2022
Questions:
1. Why hard code like this?
2. Why not use a table where you keep your accounting periods?
3. Why not use eoy() eom() functions to construct your date variable?
4. Have you checked if variable has a different type in "automatic"?
You do not specify if not using automatic but I think that "automatic"
overrides ...
5. Is it "pfcmark" or "PFCMARK"? - I think this is case sensitive
On 1/10/22 1:14 PM, Richard Kreiss via Filepro-list wrote:
> I have a -v select process which sets a global field "highdate which is declared as(10,mdy/,g) highdate= "12/'31/{getenv("pfcmark")-"1")
> highdate is blank
> I have declared mark(2,*,g) and set that to getenv("pfcmark")-"1" and that is set.
> Note that if highdate="" and mark ne ""
> Then: Highdate="12/31/"{mark.
> Highdate should be set to 12/31/2029 but is blank. This programming line comes before line 1 of this email.
> If: highDate = ""
> Then: highdate="12/31/20"{getenv("pfcmark)"-"1". Highdate is still empty. Why?
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: winmail.dat
> Type: application/ms-tnef
> Size: 15032 bytes
> Desc: not available
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20220110/cf7ee40f/attachment.bin>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
--
Jose Lerebours
954-559-7186
https://www.asisuites.com
Accounting - Retail - Wholesale - Distribution
Manufacturing - Warehousing - Transportation - eCommerce - Web Development
More information about the Filepro-list
mailing list