CurrFieldNo

jmlozares
Member Posts: 110
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.
Manila, Phils.
0
Answers
-
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)0 -
I see..
Thanks!
Best Regards!Janderol Lozares Jr.
Manila, Phils.0 -
Very useful if you want a certain check to be done only if the user changes the field manually.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions