On Wednesday, June 11, 2003, at 09:19 AM, Sadhunathan Nadesan wrote:
repeat for each line x in keywords put x && " :---: " && sqlData[x] & cr end repeat
Wouldn't this just show you the last entry in the keywords? The keys in keywords, also, are not going to be in the same order as keys in split. (I'm really a Revolution mostly-lurker, and just jumping in because I'm about to do some split/combine. Maybe the message boxes are different.)
This little test worked as I expected:
on mouseUp
put field "Input" into theArray
split theArray by LF and "|"
put keys(theArray) into theKeys
put theKeys & LF into field "Report"
combine theArray by LF and "|"
put theArray after field "Report"
-- From Sadhu's code...
repeat for each line x in theKeys
put x && " :---: " && theArray[x] & cr
end repeat
end mouseUpDar Scott
_______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
