Newbie Questions....

Tazzy1972
Member Posts: 18
Hi all,
I have a main form with a subform. The List function lists out all records in the main form source table. Can I change that to List the records on the Subform source table instead?
Also, if I want to open another form from a form and have the 1st form updated with the parameters from the 2nd form, what are the codes needed? The 2 forms have different source tables.
Thanks
Tazzy
I have a main form with a subform. The List function lists out all records in the main form source table. Can I change that to List the records on the Subform source table instead?
Also, if I want to open another form from a form and have the 1st form updated with the parameters from the 2nd form, what are the codes needed? The 2 forms have different source tables.
Thanks
Tazzy
0
Comments
-
Hi Tazzy
Case 1:
For changing the list form that is displayed
Go to the form designer. For the List menu item, set action property to runobject and set runobject as form ID that you want to run.
But this way, if you press list button on the tool bar, the form thats set as lookupform of table will be shown. Use your marketing skills and show it as a featureI wont recommned to remove the lookupForm property of source table.
Case 2:
say SourceForm is the form on which you have te parameters set. and TargetForm is the form on which you want the values transferred.
in TargetForm you will have to write a function that will
- accept the values to be sssigned as arguments
- assign the values to the global variables( declared in the targe form that are source expressions of text boxes ) in the function body
In SourceForm, you will have to call this function before running TargetForm. Thats it.
All the Best
Regards
Jyotsna______Doubt is the father of Invension_______0 -
Thanks.... actually wanted to change the List function at the toolbar but nevermind.0
-
Hi
That is possible by changing LookupFormID property of the table; but it would not be semantically correct.
Regards,
Jyotsna______Doubt is the father of Invension_______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