global variable in answer button
Posted: Wed Nov 17, 2010 5:48 pm
I am trying to create a Date Time Stamp I can store in a global variable that can be accessed
when a different button is clicked. The date time stamp is set/updated when the user picks an item from a list
field
Here is my list field code
here is the code I was trying to use to show the value from another button:
when a different button is clicked. The date time stamp is set/updated when the user picks an item from a list
field
Here is my list field code
Code: Select all
on menuPick pItemName
switch pItemName
end switch
global gDateTimeStamp
put the date && the time into gDateTimeStamp
put gDateTimeStamp into field "Current Date Time Stamp"
end menuPick
Code: Select all
on mouseUp
answer gDateTimeStamp
end mouseUp