adding fields

robmann at gp-racing.com robmann at gp-racing.com
Wed Jan 10 11:07:14 EST 2007


Is there a way to add fields based on a number entered in a field
such as
ON mouseUp
put fld "numberofcolumns" into tnumberofcolumns
REPEAT with c = 1 to tnumberofcolumns
--add a new field not sure what this code should be or if it can be done

   ask "What do you want to label this field?"
   IF it is not empty THEN
     put it into myLabel
     set the name of the target to myLabel
   END IF
END REPEAT
END mouseUp


Thanks
Rob



More information about the use-livecode mailing list