>Nick:
>
>I placed the requery() and refresh() in the save button. Before that I set the rowsourcetype = 3 and used the select statement for the rowsource. However, when I ran the form, I got the following error i.e., at the line where it says rowsourcetype = 3
>
>"OBJECT LABTESTINFO NOT FOUND"
>
>- Ravi
Hi Ravi,
Nothing is better than a little sample. :) And I just sent it to you by e-mail.
There is a form with the grid, combo and Save button.
You can edit Last_Name field in a grid - that will imitate your data manipulations. The grid has AllowAddNew = .t. so you can add the new records right there.
As soon as you click Save button the combo will be requiried and refresh the info you just entered.
See the combo properties, the code in combo Init, Destroy() and in Save button.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison