Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 24th, 2010, 06:47 PM
Authorized User
 
Join Date: Mar 2010
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default update subform based upon parent form

In Access 2007, i have a form that has a combo control (or 2). Also on the form is a subform that takes it Record Source from a table tbl_tempSched

On my main form, i collect properties that will create tbl_tempSched
Code:
SELECT some-values INTO tbl_tempSched FROM some-table WHERE something ORDER BY some-field;
When this gets executed, i also want to update my subform as it will now have new data based upon tbl_tempSched.

How can i do this? I tried
Code:
sub_MySubForm.Requery
but that did not work.

Thanks for the help.

Last edited by Disgruntled; March 24th, 2010 at 06:47 PM.. Reason: better title





Similar Threads
Thread Thread Starter Forum Replies Last Post
Subform Record Saved, Update/Requery Form controls CB-VTXer Access VBA 2 August 6th, 2007 02:35 PM
subform based on a query Vince_421 Access VBA 2 May 10th, 2006 04:38 AM
Change Sort-by attribute based on parent tclancy XSLT 2 March 24th, 2006 05:00 PM
Refresh Parent Subform echovue Access 1 October 18th, 2005 09:59 PM
Filter Subform B Based on Field in Subform A SerranoG Access VBA 3 June 18th, 2004 12:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.