[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: print / wrap question
Thanks! It worked great
Byron Hall
CIBAVISION CORPORATION
11460 Johns Creek Parkway
Duluth, GA. 30097-1556
Phone: 678-415-3359
Fax: 678-415-3710
> -----Original Message-----
> From: Slattery, Chad [SMTP:Chad.Slattery@CSCLAC.IRLGOV.IE]
> Sent: Monday, April 03, 2000 11:12 AM
> To: SQR-USERS@list.iex.net
> Subject: Re: print / wrap question
>
> Byron
> Use 'wrap 10 3'
> you have 'wrap 10, 3'
> dont use the comma
>
> hth,
> Chad.
> -----Original Message-----
> From: byron.hall@CIBAVISION.NOVARTIS.COM
> [ <mailto:byron.hall@CIBAVISION.NOVARTIS.COM>]
> Sent: Monday, April 03, 2000 3:50 PM
> To: SQR-USERS@LIST.IEX.NET
> Subject: print / wrap question
>
>
> SQR Users,
>
> Why is the following wrap function erroring out? I seems to be correct
> from
> a syntax standpoint.
> The numeric literal is present (10, 3). Any help would be greatly
> appreciated.
>
> SQR Version 4.3 in PeopleSoft 7.5
>
> BEGIN-PROCEDURE get-product-group-description
>
> begin-select
> B.DESCR &prod_grp_desc
> from PS_CV_PRDCL_TBL A,
> PS_CV_PRDCH_TBL B
> WHERE A.SETID = B.SETID
> AND A.PRODUCT_GROUP = B.PRODUCT_GROUP
> end-select
> let #number_lines=wrapdepth(&prod_grp_desc, 10, 2, '<13>', '/\@-' )
> display 'The number of lines are...'
> display #number_lines
> print &prod_grp_desc (4,1,30) Wrap 10, 3
> END-PROCEDURE
>
>
> ERROR
>
> Error on line 293:
> (SQR 5304) Qualifier 'wrap' requires a numeric literal, variable, or
> column.
> print &prod_grp_desc (4,1,30) Wrap 10, 3
>
> Errors were found in the program file.
>
> Byron Hall
> CIBAVISION CORPORATION
> 11460 Johns Creek Parkway
> Duluth, GA. 30097-1556
> Phone: 678-415-3359
> Fax: 678-415-3710
>