T
TravelingHT
Dear All:
I have created a form and tables for taking in the info from a
questionnaire. For reasons of insanity and trying to keep to the rules of 4th
normal planning for my questionnaire, I have created a one to one
relationship between the questions always answered and some questions only
some times answered to save space.
To connect the two primary forms I created a primary key with auto number in
the Always Used Main Table and linked it to a primary key using long integer
(No Duplicates) in the Sometimes Used Main Table.
I set up an If statement to send the tab to a sub form in the Sometimes
Main Form which worked fine, but Ctrl+Tab out of the subform into another
subform did lots of weird things depending on if there was a value in the
first subform, if I added another entry then Ctrl+Tab to the point I could
not keep track of the variables that would create the changes.
I then looked at my relationships and added a one to many link from the
Sometimes Used Main Table to all the sub tables and now things are working
fine.
Originally there was only the One to One relationship between the two main
forms and a One to Many relationships between the Always Used Main Forms and
the Subforms.
This now means that both the Always Used Main Table and the Sometimes Used
Main Table both have One to Many relationships with all of the sub tables and
a One to One relationship between the two of the Main Tables!
Is this normal, is it an abomination, what are the rules, can I go to prison
for this?
Where can I find out about the conventions on this type of situation?
Thanks in advance.
TravelingHT
I have created a form and tables for taking in the info from a
questionnaire. For reasons of insanity and trying to keep to the rules of 4th
normal planning for my questionnaire, I have created a one to one
relationship between the questions always answered and some questions only
some times answered to save space.
To connect the two primary forms I created a primary key with auto number in
the Always Used Main Table and linked it to a primary key using long integer
(No Duplicates) in the Sometimes Used Main Table.
I set up an If statement to send the tab to a sub form in the Sometimes
Main Form which worked fine, but Ctrl+Tab out of the subform into another
subform did lots of weird things depending on if there was a value in the
first subform, if I added another entry then Ctrl+Tab to the point I could
not keep track of the variables that would create the changes.
I then looked at my relationships and added a one to many link from the
Sometimes Used Main Table to all the sub tables and now things are working
fine.
Originally there was only the One to One relationship between the two main
forms and a One to Many relationships between the Always Used Main Forms and
the Subforms.
This now means that both the Always Used Main Table and the Sometimes Used
Main Table both have One to Many relationships with all of the sub tables and
a One to One relationship between the two of the Main Tables!
Is this normal, is it an abomination, what are the rules, can I go to prison
for this?
Where can I find out about the conventions on this type of situation?
Thanks in advance.
TravelingHT