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

requery a subform

Status
Not open for further replies.

gwilym40

Programmer
May 2, 2002
31
GB
I've seen loads of posts about this, none of which work for me.
I have a main form with 2 sub-forms
double-clicking a field in one subform runs an insert into statement which updates the 2nd sub-form. However its only when you move forward a record and back again that the 2ns sub-form is requeried.
I've tried loadfs of things on the after-update, refreshing the recordset - nothing works
any ideas much appreciated

Regards
 
Hi

In the double click event wheer you have the SQL Update, have you tried putting SubFormControl.Requery
where subform is the name of the second form subform control

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
UK
kenneth.reaySPAMNOT@talk21.com
remove SPAMNOT to use
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top