formatting data
Robert Mann
robmann at gp-racing.com
Thu Nov 2 17:57:30 EST 2006
Just was wondering it there a way to this with the layer or number on the
size & position tab in the property inspector?
put empty
put 15 into maxxr
put 2 into maxxc
repeat with cc = 1 to maxxc
repeat with rr = 1 to maxxr
if there is a fld ("fcd"&rr&"qty") then
put fld ("fcd"&rr&"qty") into item 1 of line rr of combinedValues
put cc && rr & cr after msg
else
put " " into item 1 of line r of combinedValues -- tried this
thinking it would put a space in if no number
end if
if there is a fld ("fcd"&rr) then
put fld ("fcd"&rr) into item 2 of line rr of combinedValues
put cc && rr & cr after msg
end if
end repeat
end repeat
filter combinedValues without empty
replace "," with " " in combinedValues
put combinedValues after msg
put combinedValues into fld combinedOutput
Robert Mann
President
GP Racing LLC
More information about the use-livecode
mailing list