Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Security
Security Can getdbfields access a field in a related table?
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
237
Members:
0
Total:
237
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Security
Security Can getdbfields access a field in a related table?
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Anne
New Member
Posts: 4
11/1/2010 6:45 PM
I'm using this code to try to get the job class and it's not working. Do I have the right syntax for the related field? Do I have to do 2 nested queries to achieve this?
if(trim(getDBField('EMPLOYEE','JOB-CODE.JOB-CLASS',form.REV_COMPANY,form.REV_EMPLOYEE))=='DIR')
'NO_ACCESS,'
else
'ALL_ACCESS,'
John Henley
Senior Member
Posts: 3348
11/1/2010 7:23 PM
Not that I know of; you have to do two getDBField calls, one to get the employee's job code, another to get the job class for that job code.
You are not authorized to post a reply.