SETRANGE does not apply

poppinspoppins Member Posts: 647
Hi everyone,

I have some troubles with the following piece of code:
MyRecord.RESET;

MyRecord.SETRANGE(DetailEvalTemp.Year,TempYear);

MESSSAGE('The selected year is = %1', TempYear);
MESSSAGE('So the year is = %1', DetailEvalTemp.Year);


The output is:
The selected year is = 2011
So the year is =

As you can see, SETRANGE does not apply :?

Where is the error??? What should I do???

Comments

Sign In or Register to comment.