Good day.
How to do this in livecode see below the picture.
here's my code
Code: Select all
on mouseUp
put fld "OrderNumber" into tForReleaseOrder
put tForReleaseOrder & cr after fld "ForCollectFld"
end mouseUp
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
on mouseUp
put fld "OrderNumber" into tForReleaseOrder
put tForReleaseOrder & cr after fld "ForCollectFld"
end mouseUp
Code: Select all
...
repeat with i = 1 to the num of lines of fld 1
put TAB & your_value_here after line i of fld 1
end repeat
...
Hi Klaus,
YOU entered? I thought this should be done completely via script?in my picture after i entered the number 70 it will create a column or tab near the number 150 but using only one field.
Klaus wrote: ↑Thu Jan 20, 2022 11:39 amHi lemodizon,
YOU entered? I thought this should be done completely via script?in my picture after i entered the number 70 it will create a column or tab near the number 150 but using only one field.
So you have fixed values (70, 30, 60) after which the "column break" should happen?
Or any other "rule" for this?
And maybe you can post the content of that source field here, so we could experiment a bit?
Best
Klaus
Code: Select all
on mouseUp
if fld "numberFld" is empty then
beep
Answer error "Please enter a Number. Thanks!"
else
put fld "numberFld" into tMyNumber
put tMyNumber & cr after fld "ForReleasingFld"
put empty into fld "numberFld"
end if
end mouseUp
So you have fixed values (70, 30, 60) after which the "column break" should happen?
Or any other "rule" for this?
And maybe you can post the content of that source field here, so we could experiment a bit?