Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms > nested forms
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 44653 of 46474
Post > Topic >>

nested forms

by "Bill - ESAI" <datapacks@[EMAIL PROTECTED] > Aug 7, 2008 at 11:37 AM

good day everyone

Here's a simple scenario of what I'm trying to do.

I have a form for inputting company departments. Nested at the bottom of 
that form is another form for inputting the employees that are members of 
that department. Each works by itself. I have the one to many relation****p

in place between the department and the employee tables but I can't seem
to 
figure out how to set up the forms properly so that as I navigate (both 
forms has "Navigation Buttons" set to yes) through the departments the 
employee form only displays the employees that belong to the department
that 
is currently populated in the parent "Department" form.

So, say I have 5 departments, I mouse down on the department form and can 
navigate through the 5 departments. The employee form at the bottom of the

department form populates with say the first record returned based on the 
department that is currently displayed. If I stop on the 3rd department
and 
mouse click on the employee form I want to be able to navigate through
only 
the employees belonging to that department. I'm currently have an "On 
Change" event on the Department ID form element and have been trying to
use 
that as the object to reset the query for the employee form. I can't seem
to 
get that to work.

I'm quite certain that I'm just not applying my commands properly so I'm 
wondering if someone might be able to walk me through getting this to
work.

Thank in advance

Bill
 




 2 Posts in Topic:
nested forms
"Bill - ESAI" &  2008-08-07 11:37:17 
Re: nested forms
Piet Linden <PieterLin  2008-08-07 16:01:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:55:27 CST 2008.