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