Filter form according to menusuite.

skynet
Member Posts: 5
Hello,
I have to add a reference to the same form in different folders of a menusuite.
For example I have a folder Web in which I have a link to Invoices and an other folder Intern in which I have a link to Invoices too.
Of course I have to filter the form according to the item in the menusuite.
Is there a way to do this or should I add a form to choose the filter ?
Thanks for your help.
I have to add a reference to the same form in different folders of a menusuite.
For example I have a folder Web in which I have a link to Invoices and an other folder Intern in which I have a link to Invoices too.
Of course I have to filter the form according to the item in the menusuite.
Is there a way to do this or should I add a form to choose the filter ?
Thanks for your help.
0
Answers
-
No, no ways .
You have to :
- create a copy of the form with appropriate filter
OR
- as you suggest, a form to ask the filter to apply0 -
Thanks for your quick help, at least, it's clear.0
-
You can invoke forms from the menusuite using a URL, and in that URL you can embedd parameters. Running a form in this way invokes the OnHyperlink trigger of the form and passes the URL. Inside here you can parse the URL data and then set a filter depending upon what the URL parameters are.
So, yes, it can be done.
I'm using this technique in my example of how to communicate between forms. It's in the tricks and tips forum in a thread called something like "Form Communication Mechanism Questions".0 -
Thanks a lot for your solution !
I pass the form and the filter in the URL and it works perfectly.
\:D/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