Is bracket allowed in a filter?

slmaluwa
Member Posts: 366
Is bracket allowed in a filter of a Code field?
"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."
0
Comments
-
What do you mean by "allowed"?
I would suggest to take a look into the help and/or try it by yourself.NAV Help wrote:Calculate before rest
30|(>=10&<=20)
Those with number 30 or with a number from 10 through 20 (the result of the calculation within the parentheses)"Money is likewise the greatest chance and the greatest scourge of mankind."0 -
if you try to filter "whatever contains a bracket", you'll get the following error both in classic and in rtc. This error can be solved by putting quotemarks. I guess he was refferring to this problem.The filter '*(*' is invalid.
You entered an invalid expression in the filter on the No. field in the Vendor table.
BTW, it's funny that the filter in the online help works without problemsEdit: #-o i just noticed that the filter you wrote is probably on an integer field...
P.S.: I know it happens user side; I don't remember if setrange gives the same problem... :-k0 -
I noticed this only today when trying to search for a Item No. with a "(" in it. It didn't work in the code also when trying to set a filter with a ( in the value of a variable.
How can we overcome this issue when importing data from a text file using a Dataport and filtering based on the value from file?"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."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