Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID ControlSource question
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
GRID ControlSource question
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:
01594572
Views:
55
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!
Tommy Tillman A+ NetWork+ MCP
Next
Reply
Map
View

Click here to load this message in the networking platform