SetRange Query

NR
NR Member Posts: 78
What is the significance when a Record.SETRANGE("Field Name") is given without any filter Values.

For eg.
GLEntry.SETRANGE("Posting Date",010106,310106);
IF GLEntry.FINDSET(GLEntry('-') THEN
Count += 1;

GLEntry.SETRANGE("Posting Date") - What s the significance of this particular C/AL Statement.

Comments

  • kriki
    kriki Member, Moderator Posts: 9,132
    It removes the SETRANGE (or SETFILTER) that was put on it. But only the filter in the current FILTERGROUP.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • NR
    NR Member Posts: 78
    Thanks for the answer.