Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid weirdness
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid weirdness
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01468952
Message ID:
01468952
Vues:
169
Hi Gang!

I have a grid on a form. The grid's name is grdCust.

When the form is up and running, the user can select a Cashier from the grid. When you select the Cashier, it runs some code in a method (form the click, dbl-click, and Interacitve change event of the grid).

I capture the values from the grid (the values are Cashier Name, Register Number, Date and Time) in this method.
mCashier = Thisform.grdCust.colCashierName.txtCashierName.Value

Thisform.p_cashier    = Thisform.grdCust.colCashierName.txtCashierName.Value
Thisform.p_date       = Thisform.grdCust.colDate.txtdate.Value
Thisform.p_time       = Thisform.grdCust.colTime.txtTime.Value
Thisform.p_regno      = Thisform.grdCust.colRegisterNumber.txtregisterNumber.Value	
Everything is good the first time I click on the grid.

If I click on another Cashier, the code runs again, but this time the Cashier Name changes to the correct grid row entry, but the Register number, Date and Time DO NOT change to the new grid row values. They remain the same!!!

Any ideas?? Corrupt form?? My brain fried???'

Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform