How to use text box Lookup?
yukon
Member Posts: 361
Hi Expert,
I found text box control has LookupFormID property and DrillDownFormID property. So i filled LookUpFormID (eg.Customer). and DrillDownFormID (eg.Payment). When i open form that text box does not work.
How to use it? Please explain to me.
Best Regards,
Yukon
I found text box control has LookupFormID property and DrillDownFormID property. So i filled LookUpFormID (eg.Customer). and DrillDownFormID (eg.Payment). When i open form that text box does not work.
How to use it? Please explain to me.
Best Regards,
Yukon
Make Simple & Easy
0
Comments
-
Do you have code in the OnLookup or OnDrilldown triggers? Even a comment will override the properties.0
-
Hi matttrax,
Thx for your reply.Do you have code in the OnLookup or OnDrilldown triggers? Even a comment will override the properties.
I did not wrote any code in text box "OnLookup" and "OnDrilldown" trigger. Just set property only.
1st. I filled at "Onlookup" -->Form ID. Then run the form, Text box does not do anything. (Simple text box).
2nd. I set default "Onlookup" and changed "OnDrillDown" --> Form ID. I saw simple text box.
Best Regards,
YukonMake Simple & Easy0 -
What do you whish to do? Store in the textbox that has as SourceExpr. a code variable the value of a promary key like the Customer No. from the customer list that is opend through the Lookup?
If yes, set as the sourceexpr. of your textbox the codevariable.
Set the LookupFormID = The Form u wish (with this property you "overwrite" the LookupFormID in the table that is set as tableRelation on the textbos). Set as TableRealtion Property the table that is the base for the "LookupForm".
RegardsDo you make it right, it works too!0 -
Hi garak,
Thx 4 your reply.Set the LookupFormID = The Form u wish (with this property you "overwrite" the LookupFormID in the table that is set as tableRelation on the textbos). Set as TableRealtion Property the table that is the base for the "LookupForm".
I wrote code base on ur instruction.
1. Declare variable.
2. TableRelation - Customer
3. FormLookup - 22 (Form Customer List)
When i run, text box show lookup button. It is cool. I have another question.
1. Declare variable
2. TableRelation - Customer
When i run form, text box show lookup.
So why is propose lookup property for that. What is different ? It is confuse for us. Can u explain?
Best Regards,
YukonMake Simple & Easy0 -
with the table relation to table customer, the system use the "default" lookupform that is defined in the property LookupFormID on the table.
If you doesn't need the lookup, set the property "Lookup" on the textbox to NO.
With the property LookupFormID on the textbox self, you can define a other form that should opened (it must also be based on the table that is defined in the tablerelation property)Do you make it right, it works too!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
- 322 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
