Creating new table to use in another form

Smashed_Pumpkin
Member Posts: 47
Hi all, hope someone can help with this.
I'd like to create a new field on the Purchase Return Order subform (6641) to do a lookup on a new table I have created (called Return Action Codes), and to return the value from the lookup onto the subform. Is this possible? If so, could someone please tell me how to do it? Many thanks!
I'd like to create a new field on the Purchase Return Order subform (6641) to do a lookup on a new table I have created (called Return Action Codes), and to return the value from the lookup onto the subform. Is this possible? If so, could someone please tell me how to do it? Many thanks!
0
Comments
-
Hi,
Add a new filed into underlying table from the subform. (Code)
and on the field properties set the Table relation to your new table !
Regards,
Marcel0 -
You have to have a lookup form for your new table and set the LookupFormID property of your new table to the ID of that form.
Then you add a new field to the Purchase Line table that links to your new table, and set the right table relation on the new field.
Then, all you need to do is add the new field to the subform and voila.
hth,
Daniel0 -
You have to have a lookup form for your new table and set the LookupFormID property of your new table to the ID of that form
I've created a new form based on my new table, but how do I set the LookupFormID property on the table? I probably should have mentioned I'm relatively new to this sort of thing!
Thanks.0 -
Hi!
Open your table in the design tool, so you can see the fields in it.
Move down beyond the last field in the table to the first blank line.
Then go on the menu bar View -> Properties. In the list that appears is the properties of the table (As opposed to doing this on one of the fields, which gives you the field properties).
Amongst the list, you will see a property called LookupFormID.
Drill down in the field and pick the form you want.
Hope this is of help!Edward Bloomfield
Lead Consultant
Theta0 -
Hope this is of help!
Thank you, it worked perfectly
Thanks to everyone else for their help also!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