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

Update subform sourceobject

Status
Not open for further replies.

tekkyun

Technical User
Oct 23, 2003
122
GB
I have a subform that has a source object based on a temp table. This temp table is re-created when users select options on the main form. The fields within my temp table also change accordingly.
How can I 'refresh' the subform to reflect the changes to the fields in the underlying table?
I have tried requery / refresh methods but all that changes is the records displayed within the existing fields. The new fields are not displayed.
 
That's it! Far too simple! I was using .recordsource and not .sourceobject to switch focus to another table whilst refreshing my temp table. I assumed that fields in form would refresh in line with recordsource change but it appears that they don't.

thanks Duane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top