Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GRID ControlSource question
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
GRID ControlSource question
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01594572
Message ID:
01594572
Vues:
54
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform