randompherret
New member
- Local time
- Today, 08:00
- Joined
- Nov 3, 2011
- Messages
- 8
I've been running my head into a wall all morning on this, I'm sure it is something simple I am missing. A point in the right direction would be helpful.
I work at a landscape company. In my database I have customers, that can have multiple contracts. Generally contracts are of one type, just seasonal mowing, or snow plowing, etc. However some contracts can have 2 or more types. In my attempt to normalize the database I have:
tblcontracts
ContractId (key)
CustomerId
OtherData
jctContracts
ContractId (key)
ContractType (key)
tblContractType
TypeId (key)
TypeName
What I want to do is have a continuous form that shows all the contracts for a customer with a multiple selection listbox (only 3 or 4 types right now, but a combo box may get used later if we end up with more types) that a user could select the types it is.
My first thought was a subform with the listbox in it but you cant have a subform in a continuous form.
In my many attempts this morning i made a query with subqueries that check and uncheck boxes based on existing data, but that data isn't updateable.
I am almost about to just unnormalize as we have so few types.
thanks ahead of time for any help.
I work at a landscape company. In my database I have customers, that can have multiple contracts. Generally contracts are of one type, just seasonal mowing, or snow plowing, etc. However some contracts can have 2 or more types. In my attempt to normalize the database I have:
tblcontracts
ContractId (key)
CustomerId
OtherData
jctContracts
ContractId (key)
ContractType (key)
tblContractType
TypeId (key)
TypeName
What I want to do is have a continuous form that shows all the contracts for a customer with a multiple selection listbox (only 3 or 4 types right now, but a combo box may get used later if we end up with more types) that a user could select the types it is.
My first thought was a subform with the listbox in it but you cant have a subform in a continuous form.
In my many attempts this morning i made a query with subqueries that check and uncheck boxes based on existing data, but that data isn't updateable.
I am almost about to just unnormalize as we have so few types.
thanks ahead of time for any help.