Request Form in Report

rtames
Member Posts: 56
Hi
I'm new to navision programming reports.
Is it possible to create a request form in a report from where I can make a selection from a listbox. The listbox should be filled with some data from an excisting table (a query on that table(filter))
kind regards,
robbert
I'm new to navision programming reports.
Is it possible to create a request form in a report from where I can make a selection from a listbox. The listbox should be filled with some data from an excisting table (a query on that table(filter))
kind regards,
robbert
0
Comments
-
Yes, but instead of a list box how about a field that drills up to another form (like a list of items). This is a lot easier.
Go View -> Request form.
Add a textbox to the form.
Create a variable of type Code (10 or 20, depending on what you are storing).
Make the SourceExpr of the textbox your new variable.
Change the TableRelation property to look up to the table you want (so if you wanted a list of items, the TableRelation would be 'Item' (no quotes).
The user can now drill up, and your variable holds the data they select.
If you want to hard code values, you can declare a variable of type Option, and then in the properties of that variable fill in the option string values, and this will appear in a combo box.
If you really want a list, you need to create a new form (that shown the record you want when you run it), and put a subform on your options tab, where the source is your new form.
-a0 -
That works.
But when I try to set a filter on the table so I do not get the whole tableview it doesn't work. Any ideas how to set a filter on the table?
kind regards
robbert0
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