page with variable at the header
kvb
Member Posts: 107
Hi, guys!
I am trying to create kind of a master page for making some new entries.
Take a look at the screenshot attached.
The idea is we have some fields which are variables at the top of a page
eg PostingDate, BankAccount, does not matter
(which will be used to create new entries)
and repeater with entries we want to correct.
The user defines fields for new entries and selects existing entries which he wants to correct.
Then he pushes Action "Go" and voila - all is done.
Haha, not at all.
I am stuck with the fields at the header!
For example, I define BankAccount field (it is variable!) then I want to select some entry and after i moved from one line to another BankAccount changes to empty value! If I go back to previous entry BankAccount again has the value I defined.
How to avoid it? How to "exclude" variables on the page from the dataset?
How to make it simple independent variable?
Thanks...
I am trying to create kind of a master page for making some new entries.
Take a look at the screenshot attached.
The idea is we have some fields which are variables at the top of a page
eg PostingDate, BankAccount, does not matter
(which will be used to create new entries)
and repeater with entries we want to correct.
The user defines fields for new entries and selects existing entries which he wants to correct.
Then he pushes Action "Go" and voila - all is done.
Haha, not at all.
I am stuck with the fields at the header!
For example, I define BankAccount field (it is variable!) then I want to select some entry and after i moved from one line to another BankAccount changes to empty value! If I go back to previous entry BankAccount again has the value I defined.
How to avoid it? How to "exclude" variables on the page from the dataset?
How to make it simple independent variable?
Thanks...
0
Best Answer
-
This one intrigued me so I had a play around and eventually worked out that you need to add the following lines in the OnValidate() event of your variables in the header section...
CurrPage.SAVERECORD; CurrPage.UPDATE(FALSE);
1
Answers
-
This one intrigued me so I had a play around and eventually worked out that you need to add the following lines in the OnValidate() event of your variables in the header section...
CurrPage.SAVERECORD; CurrPage.UPDATE(FALSE);
1 -
Thanks, buddy0
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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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