on 04-04-2006 7:50 PM
Hi Expert,
i need to know how the ATRVT formula works in FOX.
In my planning level i have Month (0calmonth2) and Year (0calyear) and not 0calday or 0calmonth.
correct syntax is:
ATRVT(attribute type, variable, date)
How can i specify the "date" parameter?
Thank you very much for every response.
Fabio
Hi,
ATRVT is to read the time-dependent attribute, hence the date will be used to get the valid record based on that date.
If you do not have the date in the schema, I guess you do not have any time-dependency. If you have, then you could construct the date as '01' 'calmonth2' and cal year (conform to internal format YYYYMMDD) and use it. This will read the record valid on the first date of the period. But confirm reading for first of the month makes sense or not, based on the time-dependency records.
If you are not after a time-dependent attribute, you could use ATRV(Attr type, Variable) just to read the attribute.
HTH,
Regards,
Nataraj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.