Hi Jacquie,
I'm certain the prompt handler is returning the correct value - I put an answer information in it right before the set statement and it showed that the dialogdata had the value I keyed into the prompt form.

Pete Haworth







http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband








On Dec 13, 2010, at 3:59 PM, J. Landman Gay wrote:

I have the following code in a savingStandalone handler in the script of
my main stack:

go to card "FieldPrompt" of stack "Prompts" as modal
if the dialogData is not "Cancel" then
set the BandTrakVersion of stack "BandTrak" to the dialogData
end if

The modal window is displayed and I enter the version number I want,
only it doesn't get saved into the BandTrakVersion custom property. This
used to work, I'm pretty sure, but has suddenly stopped working.

It should work as long as the dialogdata has a value. Check your prompt handler to make sure it's setting that. Is this for your own use only? I usually just use the message box to set the version custom property.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to