bcooler
Programmer
- Jun 13, 2009
- 132
Hello-
I'm having a problem with a form. The form has comboboxes, textboxes, and 2 subforms.
If I choose "Dynaset (Inconsistent)", I can enter data, but the form doesn't seem to remember previously entered records and the subforms do not populate.
If I choose "Dynaset", All my forms populate, including the subforms, but I get the "This Recordset is not Updatable" in the bottom left of the screen.
I've Googled the problem, which suggests the problem comes up if I am based on a multiple table query and don't enter a primary key. I looked and made sure I had a primary key in all the associated queries (not sure which one [record source, control source query, etc] needs a primary key?).
Here's the questions:
1.) What item needs a primary key? I assume the underlying control source, which is a query?
2.) What are the pro's and con's with Dynaset vs. Dynaset(Inconsistent)? How is the "Inconsistent" part going to eventually bite me on the rear?
3) How do I solve this issue? Should I use Dynaset (Inconsistent) and then requery the form on the AfterUpdate Event?
Thanks in advance!!
I'm having a problem with a form. The form has comboboxes, textboxes, and 2 subforms.
If I choose "Dynaset (Inconsistent)", I can enter data, but the form doesn't seem to remember previously entered records and the subforms do not populate.
If I choose "Dynaset", All my forms populate, including the subforms, but I get the "This Recordset is not Updatable" in the bottom left of the screen.
I've Googled the problem, which suggests the problem comes up if I am based on a multiple table query and don't enter a primary key. I looked and made sure I had a primary key in all the associated queries (not sure which one [record source, control source query, etc] needs a primary key?).
Here's the questions:
1.) What item needs a primary key? I assume the underlying control source, which is a query?
2.) What are the pro's and con's with Dynaset vs. Dynaset(Inconsistent)? How is the "Inconsistent" part going to eventually bite me on the rear?
3) How do I solve this issue? Should I use Dynaset (Inconsistent) and then requery the form on the AfterUpdate Event?
Thanks in advance!!