Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
Multiple rows of comments
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Beckey
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5199
People Online:
Visitors:
242
Members:
0
Total:
242
Online Now:
New Topics
Lawson Smart Office
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor CloudSuite
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:39 PM
Hi, I need help with an error on syteline while us
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
Infor CloudSuite
Infor OS/Cloudsuite SCIM groups
10/4/2024 2:06 PM
We are in the process of moving to the Cloudsuite
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1369
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
Multiple rows of comments
Please
login
to post a reply.
2 Replies
0
Subscribed to this topic
78 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Chesca
Veteran Member
Posts: 490
3/13/2014 1:16 PM
Hello, I am trying to write custom code to update a table. My users wants to enter comments up to 150 characters long, but I can only fit up to 75 characters. So I added multiple rows of comments to give me that many characters. However, I am not sure how to code it in my program to concatenate both rows and display on the screen or move it to the database. is there a Lawson program I can use as example to do this? Thank you in advance for your help!
I have attached the screen.
jaherb
Veteran Member
Posts: 164
3/13/2014 5:54 PM
When I've done this in the past, I've treated the two comment lines as two separate fields and stored them as such. While reading your note however, you could place a special character in position 76 and use the string and unstring command to break apart. Another option would be to actually count the number of positions used in each comment line and break them apart that way once you get close to the end.
HR90 uses an array of 11 lines in the .scr to store comments.
Chesca
Veteran Member
Posts: 490
3/13/2014 6:01 PM
Jaherb, your help is greatly appreciated! I counted the number of positions used in each comment line and broke them apart as suggested and it worked.
MOVE NYSRF1-NYS-COMMENTS(1:75) TO NYS-COMMENTS (1:75).
MOVE NYSRF1-NYS-COMMENTS-LINE2 TO NYS-COMMENTS(76:75).
Please
login
to post a reply.