Open selected record from list form to card form

ernest
Member Posts: 162
Hi all
I have created a new table in Navision 5.0 to register some information which later I am going to attach to a specific line in invoice.
I have created two forms on this table a card form and a tabular form.
I have created a menu button on the card form, to call the tabular for with all the records in the database.
Now i want to accomplish this, when I am on the tabular form, after I select a specific record, I want to display this record on the card form.
When I double click or press the OK button on the tabular form, with RunObject I am being able to call the card form, but the card form is always displaying the same record and not the record selected in the tabular form.
Please help me to solve this issue?
Thank you and best regards
I have created a new table in Navision 5.0 to register some information which later I am going to attach to a specific line in invoice.
I have created two forms on this table a card form and a tabular form.
I have created a menu button on the card form, to call the tabular for with all the records in the database.
Now i want to accomplish this, when I am on the tabular form, after I select a specific record, I want to display this record on the card form.
When I double click or press the OK button on the tabular form, with RunObject I am being able to call the card form, but the card form is always displaying the same record and not the record selected in the tabular form.
Please help me to solve this issue?
Thank you and best regards
0
Comments
-
Have you looked at how every card / list form in the system work? They're all the same. Start with the customer or vendor card / list and look at the properties on the menu items.0
-
I know this, I was trying to take example of the item card/list but didn't find it.
If you could tell me how to solve this issue it would be great.
Ernest0 -
You must not have looked too closely. Open the item card, look at the List menu item on the button. You'll see it's not RunObject, but LookupTable. This is all explained in the development material. Not to discourage you from asking questions, but read up on it. It'll explain a lot of the basics like this.0
-
Open the C/Side/Reference guide en search for runformlink ???
:whistle:0 -
kabroco wrote:Open the C/Side/Reference guide en search for runformlink ???
:whistle:
http://msdn.microsoft.com/en-us/library/dd301468.aspx0 -
Hi matttrax
when I put LookupTable, the form it is not opening at all.
That's why i posted the question.
Regards
Ernest0 -
Ernest,
have you set your LookupFormID? Have you set your table relations correctly?
You will have to set the table relation on the field in your table where your field is a foreign key and then set the lookupformID on the table where your field is part of the primary key.
You have to cover the basics before you'll be able to do it. It is all explained in the Application Designer Guide.
Hope this helps.
Regards,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
Thanks I solved it.
Thanks again KYDutchie.
Regards0
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