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:
TomV
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5186
People Online:
Visitors:
280
Members:
0
Total:
280
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
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 Customization/Development
Multiple rows of comments
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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.
<div class="amimagebutton_over" style="width: 50px; height: 50px;" onmouseover="this.className='amimagebutton_over';" onmouseout="this.className='amimagebutton';" onclick="af_checkupload();"><img alt="" align="absmiddle" style="border-width: 0px; border-style: solid; margin: 0px; vertical-align: middle;" src="http://www.lawsonguru.com/DesktopModules/ActiveForums/themes/lg2010/save32.png" /></div>
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).
You are not authorized to post a reply.