Opening a form on the first tab

Waldo
Member Posts: 3,412
Example:
You create a form with 8 tabs. On the 5th tab, you create a subform. When you open the form, no matter what you do, it always opens the form on the 5th tab - for some reason. I don't know if this happens all the time, but probably most of you allready ran into the same type of problem.
I created some (weird) way around it, but I wanted to ask you wether there is a standard way to do it? Am I forgetting something?
You create a form with 8 tabs. On the 5th tab, you create a subform. When you open the form, no matter what you do, it always opens the form on the 5th tab - for some reason. I don't know if this happens all the time, but probably most of you allready ran into the same type of problem.
I created some (weird) way around it, but I wanted to ask you wether there is a standard way to do it? Am I forgetting something?
0
Comments
-
This is becaurse you have the primairy key of the subtable in the form!
Try to hide all primairy key fields in your subform... And you'll that it works like it should work...
Thing is.... Do you want to do this???"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
Hi Waldo,
I have come across this 'feature' before.
Have you tried to set the property "DelayedInsert" = true in your subform?
That should fix the problem.
Regards,
gus0 -
g_dreyer
=D> =D> =D> =D> =D> =D> =D> =D> =D>
Nice one! Now let me just save this on my personal harddisk"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
:oops: :oops: :oops: :oops: :oops:
Many moons ago I got stuck on that same problem, and it took me a while to figure that one out :-k, so I will never forget it.
Just glad I could assist.
I will stick it under the tips & tricks section, as a reminder to always set delayed insert if you are going to use the form as a subform.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