G
Guest
I've created a form based on a query, and cannot enter data into the
controls-- was setting up a combo box with staff names when I discovered
this. I believe I have a relationship issue, because when I eliminate fields
in the query that are from other tables, I am able to enter data in the form.
Here's the setup.
Controls on form from Main Table (these are the ones in question)
TicketNum (autonumber using DMax+1) Primary Key -- data type: number
ProgramArea (combo box) -- number -- bound to ProgramArea field (number) in
main table
Record source tblProgramArea
Fields: ProgramID -- number
Program -- text
Category (cascading combo -- filters on selection in ProgramArea) -- number
-- bound to Category field in main table -- number
Record source tblCategoryDetails
Fields: CategoryID and ProgramID -- number --
Category -- text
Description (cascading combo -- filters on selections in ProgramArea &
Category)--number -- bound to Description field in main table -- number
Record source tblDescriptionsDetails
Fields: DescriptionID, CategoryID, ProgramID -- number
Description -- text
I created the query to obtain the text values for selections in the combo
boxes. So, I have all the fields from the main table, plus the text fields
from each table that is a combo box record source. I created a relationship
between the IDs in the three tables (ProgramID, CategoryID, DescriptionID)
and the fields Program, Category and Decription in the main table.
Now, when I design a form based on this query, I'm unable to enter any data.
Can anyone advise me?
controls-- was setting up a combo box with staff names when I discovered
this. I believe I have a relationship issue, because when I eliminate fields
in the query that are from other tables, I am able to enter data in the form.
Here's the setup.
Controls on form from Main Table (these are the ones in question)
TicketNum (autonumber using DMax+1) Primary Key -- data type: number
ProgramArea (combo box) -- number -- bound to ProgramArea field (number) in
main table
Record source tblProgramArea
Fields: ProgramID -- number
Program -- text
Category (cascading combo -- filters on selection in ProgramArea) -- number
-- bound to Category field in main table -- number
Record source tblCategoryDetails
Fields: CategoryID and ProgramID -- number --
Category -- text
Description (cascading combo -- filters on selections in ProgramArea &
Category)--number -- bound to Description field in main table -- number
Record source tblDescriptionsDetails
Fields: DescriptionID, CategoryID, ProgramID -- number
Description -- text
I created the query to obtain the text values for selections in the combo
boxes. So, I have all the fields from the main table, plus the text fields
from each table that is a combo box record source. I created a relationship
between the IDs in the three tables (ProgramID, CategoryID, DescriptionID)
and the fields Program, Category and Decription in the main table.
Now, when I design a form based on this query, I'm unable to enter any data.
Can anyone advise me?