Determine a record is newly inserted
eddietlin
Member Posts: 8
I remember there's a way to determine the record is newly inserted by the user. Any ideas?
For example, I want some logic to take effect only when user enter a value on a field (OnValidate) on a new record.
For example, I want some logic to take effect only when user enter a value on a field (OnValidate) on a new record.
0
Comments
-
Hi Eddie,
not sure if I understand the question correctly. But if you want to execute some code only if the user modifies a record in a certain field, you can use CurrFIELDNO.
Let's say that you only want to execute some code only if a user is actually in the field "E-mail" of the Customer table:
IF CurrFieldNo = FIELDNO("E-Mail") THEN BEGIN
..
..
END;
Hope that helpshttp://www.vssolutions NAV-Outlook synchronisation re-invented.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions