Catch Tab Trigger
upasanisandip
Member Posts: 405
Hi,
I want to write some code when user press custom tab created by me.
is it possible?
thanks
Sandip.
I want to write some code when user press custom tab created by me.
is it possible?
thanks
Sandip.
0
Comments
-
This could be difficult.
You can try to put code in the OnActivate trigger of the first control of the tab, but this means it get's triggered everytime the user activates it.0 -
-
Kine:
I am taking values from some other table. Want to refresh that variables on tab event.0 -
???
What structure does your code/tables have? Do you read some table information when you are in a form or do you have flowfields?
What problem do you have refreshing? When is the other data changed?0 -
And why you cannot read these values in OnAfterGetCurrRecord?0
-
i am calculating Freight , Insurance, Transport charges total seperately. Coz user needs seperate total of Transport, Freight etc. on report.
So added fields for this in Purchase Header.
I have taken this information from Structure Order Detail Table.
So when i click on structure menu button i want that other table info. which i have taken from Structure Order Detail table also get refreshed.
I made 1 new tab for this.0 -
What is a Structure Order Detail table?
What does your code structure look like?0 -
So write the calculating part as field validation code. You should see resulting values immediately. Never write any data code in a form event, that is just a very bad idea. Data code should reside in tables or codeunits. Form triggers should only be used for display purposes or to set variables in other objects.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
- 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


