Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Add-Ins for Microsoft Office
ERROR... can't use Selection Criteria...Related Table Fields and Parenthesis
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
JVENGLEy
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5209
People Online:
Visitors:
378
Members:
0
Total:
378
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
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
User Experience
Lawson Add-Ins for Microsoft Office
ERROR... can't use Selection Criteria...Related Table Fields and Parenthesis
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
1 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
FireGeek21
Veteran Member
Posts: 84
6/14/2010 12:41 PM
Hi Everyone,
We are receiving the following error when attempting to create output using MS Addins:
ERROR. You cannot use Selection Criteria that contains both Related Table Fields and Parenthesis.
Not sure how to resolve this...
We are building output to include the following:
-Dependent's Name
-Benefit Plan Type (HL; DN)
-Benefit Start-Date
-Benefit Stop-Date
-Dependent's Relationship
-Dependent's Consent
-Employee's Date of Hire
-Employee's Name
-Employee's Company
The Start-Date needs to be >= 01/01/2010 and where we are putting () is with the Stop-Date:
(ISNULL(Stop-Date) or Stop-Date > CurrentDate)
Any idea on how to resolve this error?
Thank,
RSGeek
Deleted User
New Member
Posts: 0
6/14/2010 12:53 PM
Split
I literally just ran into that same error message 2 weeks ago, and assumed that it's one of those "hidden" limitations within the Add ins. Instead of using the parentheses, can you just put in "or" logic - your first grouping having stop date = blank, then the next grouping stop date > current date?
FireGeek21
Veteran Member
Posts: 84
6/14/2010 1:07 PM
Split
I figure I would have to somehow group the criteria considering I also need the Start-Date >= 01/01/2010. This is what I am picturing I have to do but am getting this error.
Start-Date >= 01/01/2010 AND
(IsNull(Stop-Date) or Stop-Date >= Current Date)
Aurgh!
Deleted User
New Member
Posts: 0
6/14/2010 1:12 PM
Split
Sorry I wasn't clear - I'm suggesting not using the grouping function, but using and/or -
Start date >01/01/2010 AND stop date = null
OR
start date > 01/01/2010 AND stop date > 06/14/2010
FireGeek21
Veteran Member
Posts: 84
6/14/2010 7:45 PM
Split
Thank you Stephanie for the suggestion. Here is the final result - and I was able to group!!!
((Start-Date >= 01/01/2010 AND
Stop-Date = 00000000)) OR
((Start-Date >= 01/01/2010 AND
Stop-Date >= 06/14/2010))
It appears the problem lied with the table I started with. MS Add-ins won't allow you to use any selection criteria against a "related" table, however you can against the table you start with. In the end, I started with the HRDEPEND table and related to EMPLOYEE and EMDEPEND. Originally I was starting with the EMDEPEND table and related to EMPLOYEE, HRDEPEND and BENEFIT - criteria against the HRDEPEND or the BENEFIT tables were not working.
All is better!!! Thanks again for the suggestion.
FireGeek
Please
login
to post a reply.