>Hi Gang!
>
>I need some help here....
>
>I have a grid (let's say with 2 columns). Column A and B
>
>Column A has as it CONTROLSOURCE this...
>
>
>WITH ThisForm.pgfEZeScripts.QueuePage.grdList
> .Column1.ControlSource = "ss_io.when_sent"
> .Column1.Header1.Caption = "Sent (UTC Time)"
>
> .Column2.ControlSource = ???????????
> .Column2.Header1.Caption = "Sent (LOCAL Time)"
>ENDWITH
>
>
>I would like to add a 2nd column to show the LOCAL TIME (the when_sent time is UTC time, which I have code now (thanks Rick!)) to convert to LOCAL TIME.
>
>I created a method using this code... called m_utc2local
>
>So, how would you set up the ControlSource for the second column and call the method to convert the when_sent to LOCAL TIME ?
>
>Thanks!
Did you try
ControlSource = "thisform.ConvertToLocal(ss_io.when_sent)"
?
If it's not broken, fix it until it is.
My Blog