no fields PIK 1 and 3 are the 2 that I want to be linked really in this script..
when I ran the script that I posted with both it just ran the PIK_1 area but just nothing on the PIK_3
ideally it should replace the contents of corresponding user entered numbers on PIK 1 and 3
say they enter 33 ...
Search found 3 matches
- Wed Nov 07, 2018 6:26 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Am I missing something
- Replies: 8
- Views: 6423
- Wed Nov 07, 2018 5:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Am I missing something
- Replies: 8
- Views: 6423
Re: Am I missing something
Hi Joseph,
hello and welcome to the forum! 8)
Not sure I understand you completely, but maybe this is what you are looking for:
...
lock screen
repeat with i = 1 to 44
if the text of fld "PIK_1" = i then
put fld ("SK_" & i + 1) into fld "SWAP_2"
end if
end repeat
unlock screen
...
If ...
- Wed Nov 07, 2018 4:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Am I missing something
- Replies: 8
- Views: 6423
Am I missing something
to give you an idea of what this is doing.
44 source fields with 1 character in each field. (SK fields)
I have 10 user entered fields (with values from 1-44 entered by the user). (PIK Fields)
44 final (we will call user swapped) fields (BK Fields)
When a user enters a string of 10 numbers into the ...
44 source fields with 1 character in each field. (SK fields)
I have 10 user entered fields (with values from 1-44 entered by the user). (PIK Fields)
44 final (we will call user swapped) fields (BK Fields)
When a user enters a string of 10 numbers into the ...