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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh a subform

Status
Not open for further replies.

MikiH

Programmer
Sep 25, 2002
78
GB
Hi all

I've got a combobox on a subform which looks updata and updates fields. ie

combo orderno(unbound) orderno (bound)
partno (bound)


I've set the combo to "limit to list", when new data is not in the list opens new form to enter data. Then returns to subform.

When I run the database on a local harddrive this works fine but I need to run it on the network and it gives me the following error when updating the bound fields:

cann't find record in table ....

If I go into the main form and then refresh the data it works again. Any idea on how to refresh the subform?

Thanks
(working with Acc 97)
 
When the sub form closes, you could use a Refresh there:

OnClose:

Forms![MainForm].ReFresh

Regards

Garry
 
Thanks

But I don't close the subform the new form is popup and modal.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top