Focal Point
MULTI-LINE EDIT FUNCTION

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9771067331

November 25, 2003, 01:10 PM
webfocuspgm
MULTI-LINE EDIT FUNCTION
The question: How do you continue lines for an EDIT function ?

The problem: I'm would like to create defined fields from a 256 character field in the master. I've initially set this up in Report Assistant thinking it would create it correctly but I received an error.

POST_ACTIN/A1= EDIT ( SEGVALKSI001 ,
'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$9' )
Thanks for any and all help !!!!

This message has been edited. Last edited by: <Mabel>,
November 25, 2003, 02:08 PM
Mikel
In latest releases, you can previously assign a variable with your mask:

-SET &MASK= '$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$' |
- '$$$$$$$$$$$$$$$$$$$$$$9' ;
...
POST_ACTIN/A1 = EDIT(SEGVALKSI001, '&MASK' );
Otherwise, you must consider SUBSTR function:


POST_ACTIN/A1 = SUBSTR(, SEGVALKSI001, , , , POST_ACTIN);
Regards,
Mikel

This message has been edited. Last edited by: <Mabel>,
November 25, 2003, 02:37 PM
webfocuspgm
I used the SUBSTR..... WORKED GREAT !!!!!

Thanks so much MIKEL Smiler