assigning values to global date variables

I understand that unless the initial value of a global.Date variable is set to ‘now’ it will not default to the current date.

However, if I make a form and put this statement in the onShow method, the date variable is not assigned a value.

global.DateVariable1 = getServerTimeStamp()

If I use a global date variable to as the dataprovider for a field I am able to assign a value. Just can’t do it with a method.

John McCann

2.1 final
Windows XP
SQL Server

i think you mean:

global.DateVariable1 = application.getServerTimeStamp()

yes?

what does application.getServerTimeStamp() generate?
if for example you output that in the method:

application.output(application.getServerTimeStamp());