Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
OleDB Filter Syntax
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
cat andrews
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5215
People Online:
Visitors:
38
Members:
0
Total:
38
Online Now:
New Topics
Lawson Add-Ins for Microsoft Office
Deleting an Orphan Time Record with MS Add-ins
12/13/2025 7:26 PM
I have discovered an Orphan Time Record when dumpi
Lawson S3 HR/Payroll/Benefits
Secure 2.0
12/8/2025 9:06 PM
Has anyone using S3 V10 for Benefits been able to
Lawson Add-Ins for Microsoft Office
More.... ic81.2
12/5/2025 10:51 PM
We build our PAR's with MS Addins using IC81 a
Lawson Add-Ins for Microsoft Office
Uploads
11/20/2025 3:32 AM
The Next button has stopped functioning on the upl
S3 Systems Administration
Lawson Security Admin (LSA) - Securing Print Manager to self only
10/24/2025 6:27 PM
Looking for someone who would be willing to share
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chesca
1042
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
OleDB Filter Syntax
Please
login
to post a reply.
5 Replies
0
Subscribed to this topic
23 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Jeff
Advanced Member
Posts: 30
9/1/2009 4:39 PM
I am using the Lawson Query Builder OleDB for first time and am trying to understand the syntax of the filter statement.
Trying to read rows with a Major Class = 204 or 920
This format does not return any rows:
POLINE.PURCH-MAJCL = 204 or 920
This format throws an error upon execution:
POLINE.PURCH-MAJCL = 204 or POLINE.PURCH-MAJCL = 920
Is there documentation for this tool somewhere?
Any advice is appreciated.
Jeff
Jeff
Advanced Member
Posts: 30
9/2/2009 2:16 PM
Split
Bump.
Have I stumped the crowd with this one? Found documentation on MyLawson but it did not have any examples of compound filters.
POLINE.PURCH-MAJCL = 204 works
POLINE.PURCH-MAJCL = 920 works
Just cannot get the OR condition to work.
Anyone?
Jeff
State of NH
Ruma Malhotra
Veteran Member
Posts: 412
9/2/2009 2:53 PM
Split
The filter should be in the format:
POLINE.PURCH-MAJCL = 204 or POLINE.PURCH-MAJCL = 920
Remember to use the conjunction and fileds form the command. If you type it in even a space may cause it to error out.
What is the exact error you receive ?
Jeff
Advanced Member
Posts: 30
9/2/2009 4:17 PM
Split
Ruma,
Thanks for your reply. Copied and pasted your format into the filter with the following results. Had entered, clicked and pounded the same format, always with the same results. Documentation was useless. Won't comment any further on this product line.
"An error message was returned from the IOS Data Service. The message is An unknown error occurred. Please contact your system admin."
Have contacted our admins and they are also stumped. Heaven forbid if I were able to access the data directly versus being forced to use these 3GL query tools.
Jeff
State of NH
Ruma Malhotra
Veteran Member
Posts: 412
9/2/2009 4:50 PM
Split
Have you checked to see the evrsions of oledb to make sure that you have the right oledb version installed. i have seen the error before where I did not have the right version of oledb installed. Also on product downloads on the Lawson support site you can click on your version and check whether there are any patches to your version of oledb. It will say latest patches and sometime I have installed oledb and then the patch downloaded from the support site.
Again cutting and pasting may be an issue because there may be a space embedded that may cause the issue. You may have to rebuild your whole query from scratch and do type the or add it from conjunctions. If you are using the oledb to build a report then on set filter values you can slect the fields and conjunction and it should work. i have written an oledb filter where I am using or and and and it is working great for me.
John Henley
Posts: 3364
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
9/2/2009 5:12 PM
Split
&SELECT=POLINE.PURCH-MAJCL=204|POLINE.PURCH-MAJCL=920
Change it on the bottom, where it's part of the DME command, and click 'parse', and it will change the filter syntax; you can then use 'Change filter'...
Please
login
to post a reply.