Report Options Form lookup on record variable

Fisherman
Member Posts: 456
When using the Request form in reports, is there a way to add a lookup to the form using a global record variable in the report.
I want to lookup to the Unit of Measure table on the Request form without including it as a report data item. I've added a textbox, set it's SourceExpr to the the field name in the global record variable using a RECORD.FIELD format, and I've used form 209 (Units of Measure) in the LookupFormID property. Am I missing something? Do I need to use a custom request form?
[EDIT] - Need to clear things up a little bit. I meant using the Request Options form.
I want to lookup to the Unit of Measure table on the Request form without including it as a report data item. I've added a textbox, set it's SourceExpr to the the field name in the global record variable using a RECORD.FIELD format, and I've used form 209 (Units of Measure) in the LookupFormID property. Am I missing something? Do I need to use a custom request form?
[EDIT] - Need to clear things up a little bit. I meant using the Request Options form.
0
Comments
-
Hi! If i understood you correctly, here is what you have to do.
create a variabel that you will use to keep the value from the UOM table.
create a textbox in the request form. set the SourceExpr = your variable.
the next thing you should do is to se the property TableRelation to "unit of measure".
you don't need to use the lookupform because this is already put on the "unit of measure table".0 -
And if the table relation is not enough for you, you can define the OnLookup trigger for every edit box you add to the request form. In this case you can filter the lookup based on another value entered in another variable etc.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