Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID ControlSource question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01594572
Message ID:
01594578
Views:
36
>>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)"
>
>?

That worked !! Thanks a bunch!!! ( I left out the quotes. )
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform