Advertisement

07.08.2008 at 05:00PM PDT, ID: 23548726
[x]
Attachment Details

Cannot requery an Access subform

Asked by vlvawter in Access Forms

Tags:

I have been working on this ONE issue for over seven hours.  I'm on the point of exploding.  

My main form has tab controls.  Tab1 is a subform, Tab 2 is not, and Tab3 is another subform.  When an event occurts on Tab1, I want to requery the subform on Tab3.  

I have read and read on this.  This should work.

Forms!frmMain.frmTab2.Form.Requery.  (frmTab2 is the container name for the subform.)  

Obviously it doesn't work.  I have and read on this.  On some example I see
Forms!frmMain!frmTab2 and on others I see Forms!formMain.frmTab2.  NO ONE gives an explanation why to use . or ! in either case.  I have played with every combination I can think of.  I won't bore you with the long list of errors.  

If you can give me a web site that CLEARLY explains when to use . or ! and why or why not and/or give me code that will work, I'll give every point I can.  I am so sick and tired of this.Start Free Trial
 
 
Loading Advertisement...
 
[+][-]07.08.2008 at 05:15PM PDT, ID: 21959543

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 06:27PM PDT, ID: 21959910

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Access Forms
Tags: Access forms
Sign Up Now!
Solution Provided By: LSMConsulting
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.08.2008 at 07:28PM PDT, ID: 21960163

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 04:10AM PDT, ID: 21962264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628