CurrFieldNo

jmlozaresjmlozares Member Posts: 110
edited 2006-02-13 in Navision Attain
I haven't noticed this stuff before.. I was checking on the Sales Line table code and encountered a variable named "CurrFieldNo". What this variables stores is the fieldno of the active field. I've checked the declaration and found no trace of this particular variable. Is this a sort of Navision predefined variable, or perhaps i just missed checking somehing?
Janderol Lozares Jr.
Manila, Phils.

Answers

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    This is an extract from chapter 17.2 SYSTEM-DEFINED VARIABLES from w1w1adg.pdf:
    C/SIDE automatically declares and initializes a number of variables that you can use when you are developing applications. These are the system-defined variables:

    Rec/xRec
    When a record is modified, the Rec variable contains the current record (including the changes that are made), while the xRec variable contains the original values (before the changes).

    CurrForm
    Refers to the current form. You can access the controls of the form through this variable and set the dynamic properties of the form and its controls.

    CurrReport
    Refers to the current report in the same way as CurrForm refers to the current form.

    RequestOptionsForm
    Refers to the request options form of the current report.

    CurrFieldNo
    The field number of the current field in the current form – retained for compatibility reasons.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • jmlozaresjmlozares Member Posts: 110
    I see..

    Thanks!

    Best Regards!
    Janderol Lozares Jr.
    Manila, Phils.
  • DenSterDenSter Member Posts: 8,307
    Very useful if you want a certain check to be done only if the user changes the field manually.
Sign In or Register to comment.