Filtering using a Flowfilter

Demonic240
Member Posts: 65
Greetings all,
I am using three different flow filters to sum up the Amount based on the Salesperson Code, Div/Dep, and Accounting Period. The flowfield is working perfect and updates properly. The issue, however is on our form (it's a table form with the flow filters above) I want the table to filter according to what is in the Flowfilters. It worked fine before we changed the fields from normal types to flowfilters. Now we can't seem to get any of the entries to change.
I am using three different flow filters to sum up the Amount based on the Salesperson Code, Div/Dep, and Accounting Period. The flowfield is working perfect and updates properly. The issue, however is on our form (it's a table form with the flow filters above) I want the table to filter according to what is in the Flowfilters. It worked fine before we changed the fields from normal types to flowfilters. Now we can't seem to get any of the entries to change.
0
Comments
-
So you are typing in the flowfilters on the form?
Are you doing a CALCFIELDS when you change the values?0 -
I just ran a test on the first flowfilter to pop up a message after you input a number using:
salesmanfilter:="Salesman Filter"; MESSAGE('The value of %1 is %2','SalesmanFilter',salesmanfilter);
The message pops up with the value of %1 but %2 is blank.0 -
matttrax wrote:So you are typing in the flowfilters on the form?
Are you doing a CALCFIELDS when you change the values?
Yes, we are typing directly into the flowfilters on the form. No we are not using CALCFIELDS onvalidate. Though I think I might have tried that at one point.0 -
I seem to remember that you can't display flowfilter values is dialog boxes. I always hated that.
Perhaps a message to show rec.GETFILTERS? I can't remember if that includes the flowfilters or not.
I would definitely do a CALCFIELDS after validation on the text box on the form. And then a currform.UPDATE.0 -
I'm trying get the rec.GETFILTER to work but it keeps popping back the message: "The return value should be used for this function."0
-
Huzzah.
salesmanfilter:=rec.GETFILTER("Salesman Filter");
worked. It's now properly filtering out the table.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