Advertisement

06.09.2008 at 03:45PM PDT, ID: 23470817
[x]
Attachment Details

MS Access: using "OpenForm" with form that queries multiple tables

Asked by aesdtt in Microsoft Access Database, Access Forms

Tags: Microsoft, Access, 2003

I would like to open one form from another (edit form from a list form); however, Access does not seem to like it when I am pulling data from more than one table...

I am using a macro to open the form, specifically the "OpenForm" command with the "Where Condition" field.  When I use a single table as the data source for the form to be opened, I am able to open the form to a specific record in that table.  However, when I add the second table to the query builder, and try to open the form, it opens as though I am creating a new record (blank fields except my primary key field).  The two tables do have a relationship with one another through 1 field of each table, so it seems to me the DB should know which record to get from the second table...

Any ideas?Start Free Trial
 
Loading Advertisement...
 
[+][-]06.09.2008 at 04:41PM PDT, ID: 21747519

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.

 
[+][-]06.09.2008 at 04:41PM PDT, ID: 21747520

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.

 
[+][-]06.10.2008 at 08:31AM PDT, ID: 21752222

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]06.10.2008 at 08:37AM PDT, ID: 21752284

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]06.10.2008 at 09:46AM PDT, ID: 21752842

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

Zones: Microsoft Access Database, Access Forms
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: aesdtt
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628