Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why my SubTotal in datagrid not refresh? (need to re-open form)

Status
Not open for further replies.

awinnn

MIS
Jul 21, 2003
166
MY
Hi,
I have combobox on datagrid in the form. In the datagrid, i have FoodName, Price, Quantity and SubTotal. The combobox will show list of food. If i select FoodName..the Price should appear automatically. And i need to enter the Quantity and the value of (Price * Quantity) will be stored in SubTotal. My problem is, i can select the FoodName and enter the number of Quantity. But i can't view the Price and SubTotal until i close the form and re-open it. Is there any way to refresh the datagrid without close and re-open the form?
Any idea? Thanx in advance..;)
 
Try Datagrid1.Refresh

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top