S
Sprinks
I have a chemical product DB with the following hierarchical structure:
- ProductVendors. Record for each vendor who carries a given Product.
- Products MfrID, MfrPN, and Name of each Product that may be ordered.
- ProductContainers. Each type and quantity of each Container in a product
- Containers. Name, size, and unit of each Container.
- ContainerSubstances. Percentage of each Substance in a Container.
- Substances. The Name, CAS Registry #s, and Hazard Class of each Substance.
Substances may be in more than one Container, a Container may be in more
than one Product.
When entering a Product that has never been ordered before, I'm unsure of
how to handle cases where the Containers in the Product or the Substances in
the Container are not currently in the DB. I've thought of showing a form
based on Containers with a subform of ContainerSubstances in the first case
and subsequently a form based on ContainerSubstances and a subform of
Substances for the latter, and then requerying the combo boxes on the initial
form, but it seems cludgy. Does anyone have a better idea?
Thank you.
Sprinks
- ProductVendors. Record for each vendor who carries a given Product.
- Products MfrID, MfrPN, and Name of each Product that may be ordered.
- ProductContainers. Each type and quantity of each Container in a product
- Containers. Name, size, and unit of each Container.
- ContainerSubstances. Percentage of each Substance in a Container.
- Substances. The Name, CAS Registry #s, and Hazard Class of each Substance.
Substances may be in more than one Container, a Container may be in more
than one Product.
When entering a Product that has never been ordered before, I'm unsure of
how to handle cases where the Containers in the Product or the Substances in
the Container are not currently in the DB. I've thought of showing a form
based on Containers with a subform of ContainerSubstances in the first case
and subsequently a form based on ContainerSubstances and a subform of
Substances for the latter, and then requerying the combo boxes on the initial
form, but it seems cludgy. Does anyone have a better idea?
Thank you.
Sprinks