Can I put the text Fld1 into a variable and use that as the Field name?
It doesn't seem to work
Code: Select all
put "Fld1" into temp
put fld temp into fld "target"
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
put "Fld1" into temp
put fld temp into fld "target"
Code: Select all
on mouseUp
put "Fld 1" into temp
put temp into fld 2
end mouseUp
Code: Select all
on mouseUp
put "Fld 1" into temp
do "put " && temp && "into fld 2"
end mouseUp
Code: Select all
put "MyFieldName" into tFld1
put the text of fld tFld1 into fld "SomeOtherField"
This works here (LC 6.7.10):ajperks wrote: ↑Wed Oct 24, 2018 10:56 pmCan I put the text Fld1 into a variable and use that as the Field name?
It doesn't seem to work
Code: Select all
put "Fld1" into temp put fld temp into fld "target"
Code: Select all
put "myFldName" into myVar
put "Hussah!" into fld (myVar)
put fld (myVar)
Code: Select all
repeat with i = 1 to 4
set the textstyle of btn ("c" & i & "_btn") to "plain"
set the visible of grp ("G_" & i & "_grp") to false