Using Another Lookup Form

jamorales
Member Posts: 5
Hi all.
I've got a table and using the propiety LookupFormID of this table, I've asignated a Form.
Well, I have to use this table for another thing, and I've created anothers new forms, card-type and list-type. If I push F5 in the new card-type form, Navision opens the original Form (the specified form in the Table's propiety, it's logic) and don't the new List-type form I created. How can I resolve my problem? By propieties or but C/AL code?
I'm using Navision 3.70
Thanks for your attention.
I've got a table and using the propiety LookupFormID of this table, I've asignated a Form.
Well, I have to use this table for another thing, and I've created anothers new forms, card-type and list-type. If I push F5 in the new card-type form, Navision opens the original Form (the specified form in the Table's propiety, it's logic) and don't the new List-type form I created. How can I resolve my problem? By propieties or but C/AL code?
I'm using Navision 3.70
Thanks for your attention.
0
Answers
-
Thank you, Waldo, for your answer.
I think I have to write the code you've written. But I don't know where.
I open my new card-type form. I work with this form, create a new record, write data,.... Well, no problem. But if I want to see the new list-type form and push F5, Navision opens the form I indicated by propiety, and doesn't the new list-form, as I want.
I neather find any propiety in the new card-form nor any trigger that I can use.
Any help?
Thank you0 -
If you want the change to affect the tables across the entire application you could change the OnLookUp Form ID property of the table in question.
Alternatively you should put the code that has been outlined here in the OnPush trigger of the menu item on your form that has F5 associated with it.0 -
Hi jlandeen,
you has made me an idea. I have put a menubutton and added a item with these propieties
Visible Caption ShortCutKey Action RunObject
Yes List F5 RunObject Form My New Form
And that works!!
Thank you0 -
Hi Waldo,
Thanks for your comment.
I've configurated my new List Form as LookupMode=TRUE.
Anyway, I've detected a problem. If you push F5, it works, but if you push the arrow buttom (List buttom), navision opens the old form
So I've solved my problem partially, and I don't know how go on.
Any idea?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