Link to home
Start Free TrialLog in
Avatar of OGSan
OGSanFlag for United States of America

asked on

Access 2010 trouble with tabs

Hi, Experts -
I have a simple stand-alone Access 2010 database (.mdb - using 2003 compatibility because we have a few stragglers who have not yet been upgraded). The users like tab controls. So, I created a form with sub-forms on each tab. So far, just two tabs each with their own sub-form.

On main form (first tab) - a combo box displays all employees.  Once an employee is selected,   Sub-form1 displays the fields from a query executed with code tied to the AfterUpdate event on the combo box.  All is fine there.

But the second tab's sub-form2 - which is supposed to display rows from a second query...also executed in the same code on the AfterUpdate event - displays nothing at all.  In the header portion of Sub-form2, I have the following Iif stmt, which is referencing fields in the query executed:  
     =IIf([ID]<>"",[EEName],"No Tuition Apps found for " & [EEName])

What am I doing wrong?
ASKER CERTIFIED SOLUTION
Avatar of Nico Bontenbal
Nico Bontenbal
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of OGSan

ASKER

Thanks for the replies, Nicobo & hnasr.  I managed to figure out the problem(s) on my own.  Turned out my underlying query needed to be rewritten.  Splitting points between you but weighting more with Nicobo for his added thoughtfulness.  Thanks, again.
Jeff (aka OGSan)