Sorry, the code example looks more like this...
_________________________________________________________ repeat for each line tFile in tFileList if there is a stack "Current Resource" then set the destroyStack of stack "Current Resource" to TRUE close stack "Current Resource" end if
go invisible stack URL (the defaultFolder & "/" & tFile) if there is a field "NameField" of stack "Current Resource" then
Put tFile & TAB & field "NameField" of stack "Current Resource" after field "Resource Select List" of card "Main Interface" of stack "The Program"
end if
set the destroyStack of stack "Current Resource" to TRUE close stack "Current Resource"
end repeat
Troy,
Have you tried using delete stack "Current Resource"? Though setting destroyStack is supposed to work (I think) I use delete stack in my code that does something similar and it works fine.
-- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED]
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
