r/DatabaseHelp • • Jan 18 '16

Small DB in access

I made a small DB using access. The tables are: suppliers, address, supplierContact (the actual person we are in contact with) and a persons table. I am trying to make a form that would allow me to add the supplier info their address and the first and last name of the supplier contact. The problem I ran into was when using the form wizard to make subforms, the wizard would only allow me to connect two tables at the same time. Is there a way for me to make a form that would allow me to add info into more than two tables at the same time? Thank you

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Newtothisdbstuff Jan 20 '16

I am not getting an error message and my query is pulling all the information I want into a table. The problem I am having is that I am not able update any of the data in the queried table.

1

u/ImNotJudgingYou Jan 20 '16

Okay...well, let's see, unless you've built an action query, it won't pull your desired records into a table, but into a recordset. If you're actually pulling the records into a table, try basing your form/subform on that table and see if that makes a difference (you'll still have to go through the extra step of porting that information over to the regular tables after).

If you're using a SELECT query and pulling the records into a recordset, let's try going into the query directly (instead of through the form). Can you update information in it? If not, your query isn't updateable. Here are some possible reasons why: http://allenbrowne.com/ser-61.html.

If you can update information directly in your query, there's an issue with your form. You'll probably want to take a look at your form properties on the Data tab and try setting the RecordSet Type to Dynaset(Inconsistent Updates) and/or setting the Allow Edits property to Yes.