ToggleLink for 2nd Child Form

K

Kim07

I used the Form wizard (and a 2-table query with a parent and child
relationship) in Access 2000 to create a main form (company) and a ToggleLink
for a "Contacts" Child Form. Now, I'd like to add another Child Form for
"Projects." (The form wizard did not allow me to use a 3-table query to
create two child forms with ToggleLinks. Both child forms have a one-to-many
relationship with the parent and have the same foreign key field linking them
to the parent.)

To add a 2nd ToggleLink to my main form, I copied the "Contacts" ToggleLink
button on the main form to create a second button for the "Projects" Child
Form, went into event procedures, and then into VBA to change the "Contacts"
form syntax to "Projects" form syntax for the 2nd ToggleLink. This did not
work because the (general) subroutine contains specific code for the
"Contacts" child form.

How can I use the ToggleLink feature to add my second Child Form "Projects?"
I know little about VBA or event procedures, but I'm trying to learn. This
ToggleLink is a clean design element for adding a child form to a main form,
and I'd like to make it work for a 2nd child form, if possible.

Any help would be appreciated...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top