GETRANGEMAX Confused...

slmaluwaslmaluwa Member Posts: 366
Hi
I cannot figure out what am I missing here in this piece of code
RecordVar.SETFILTER("Posting Date",'%1..%2',
                GETRANGEMIN("Cust. Ledger Entry".GETFILTER("Posting Date")),
                GETRANGEMAX("Cust. Ledger Entry".GETFILTER("Posting Date"))
               );

Error is

Microsoft Dynamics NAV
A field from a record variable was expected.
For example:
Record.Field
Customer.Name
OK

and cursor stops just after "GETRANGEMIN("Cust. Ledger Entry".GETFILTER("Posting Date")".
Appreciate your help to figure out the issue. Trying to modify a report. Last time I worked on NAV coding was several months ago.
"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."

Comments

  • slmaluwaslmaluwa Member Posts: 366
    good god
    I got it. GETRANGEMIN argument ;-)
    Sorry....
    "A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."
Sign In or Register to comment.