define frame a
cs-id cs-name cs-name cs-status cs-ind1 cs-ind2 cs-ind3 /*NO NEED THIS cs-cmnt */
with down width 72.
for each customer :
display cs-id cs-name cs-status cs-ind1 cs-ind2 cs-ind3 with frame a .
if trim(cs-cmnt) <> "" then DO:
DOWN WITH FRAME a. /* down */
display cs-cmnt...
With "infinite loop" I mean this, what happen with this case?
Record 1:
- Order-Number is: 123456
- Previous-Order-Number is: 999999
Record 2:
- Order-Number is 999999
- Previous-Order-Number is 111111
Record 3:
- Order-Number is: 111111
- Previous-Order-Number is: 123456
Is clear logically...
/* not tested, something like this ... */
ordernbr = "123456".
find Order no-lock where Order-Number = ordernbr no-error.
do while available Order:
/*** code your concatenate stuff here ***/
ordernbr = Previous-Order-Number.
find Order no-lock where Order-Number = ordernbr no-error.
end.
And, It does not matter if you have a conditional in the "DO FOR",
IF FALSE THEN DO FOR pt_mstr:
FIND FIRST pt_mstr NO-LOCK.
END.
DISPLAY AVAILABLE(pt_mstr).
/* This show error: ** Reference to table <table> conflicts with block statement reference. (244)
*/
You need to convert the code to a Function.
On Browse Maintenance 36.4.8.13 open ic007. Or search for other examples; there are a lot of browses with defined Functions.
This is the code for Primary Line value:
v-primary = no.
for first lna_det
fields( lna_domain lna_allocation lna_line lna_part lna_site)
where lna_det.lna_domain = global_domain and lna_site =
lnd_site...
Test this: display quoter('hello"hello') format "X(20)"
The 2 quotes should work, if not is other the issue. On your example you must skip after the part number.
@@batchload ppptmt.p
"3012.02 6.50"" MIN"
"ST" "This item has inch quotes and will not load" "please help"
- -
.
@@end
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.