C
Chris Governo
Hi all,
I am having some trouble. I am creating a form that where for certain
categories the user needs to be able to choose multiple items. I originally
tried using a list box but after reading some of the posts here, I decided to
try using subforms as I need the data chosen to be saved in a table. I need
to use multiple sub forms as there are different categories that need to meet
this criteria. I am having trouble linking the data the way I want. I made
fields named ID in each "category" table and made relationships between the
primary key in the main table and these fields (I also gave each"category"
table a UID autonumber, don't know if this is wrong). I then made a query
with the fields in the main table and the ID and necessary fields from the
other tables. I then began to make sub forms in the main form. This seems
to work as when I enter data in the sub forms it shows up in the tables with
the ID field matching the ID in the main table. However, nothing shows up in
the query, and I will need to run reports from this query later.
Sorry to be long winded. I guess what I am asking is does this sound like
it is set up right (is the query necessary to make the sub forms work?)
Referrential integrity is enforced in the relationships.
Also- basically the tables for these sub forms have the fields remote ID, a
UID, and a field that contains lookup values for the user to choose from. Is
it better to type the values in using the wizard or create a table with the
values and reference it. I want to do whatever will keep me out of trouble
later on!
-Thank you for any advice or help you can lend
I am having some trouble. I am creating a form that where for certain
categories the user needs to be able to choose multiple items. I originally
tried using a list box but after reading some of the posts here, I decided to
try using subforms as I need the data chosen to be saved in a table. I need
to use multiple sub forms as there are different categories that need to meet
this criteria. I am having trouble linking the data the way I want. I made
fields named ID in each "category" table and made relationships between the
primary key in the main table and these fields (I also gave each"category"
table a UID autonumber, don't know if this is wrong). I then made a query
with the fields in the main table and the ID and necessary fields from the
other tables. I then began to make sub forms in the main form. This seems
to work as when I enter data in the sub forms it shows up in the tables with
the ID field matching the ID in the main table. However, nothing shows up in
the query, and I will need to run reports from this query later.
Sorry to be long winded. I guess what I am asking is does this sound like
it is set up right (is the query necessary to make the sub forms work?)
Referrential integrity is enforced in the relationships.
Also- basically the tables for these sub forms have the fields remote ID, a
UID, and a field that contains lookup values for the user to choose from. Is
it better to type the values in using the wizard or create a table with the
values and reference it. I want to do whatever will keep me out of trouble
later on!
-Thank you for any advice or help you can lend