First, I am a user that is forced to do development work. I am reasonably familiar with coding VBA into access, but by no means am I a programmer in the true sense of the word.
I have a few issues in a project I am attempting to fix. I have a database with various tables, forms, reports, and queries. One table, SPECS, contains product specifications for my company. so for example, column names like WeightMax, WeightMin, ADMax, ADMin, Productcode. Each product code has its own specs, but not all products have all the same values specified (one product has a weight max, one has an ADMin, etc.) All possible specification properties are columns in the table SPECS and each property has a min and max field so I can test the new production data against it and see if the test value is in or our of spec.
when I make and test a new batch of product, I want to have a dynamic form for entering the test data of new production that only shows the specifications on it that are appropriate for the given PRODUCTCODE in the SPECS table. So I envision a form with a field where I can enter the PRODUCTCODE and have the form look up the values of the specification from the table SPECS and enters the Name of the property, the min and max values, then has a field for the actual value (defined by a lot#). so I have a Table called LOTDATA for current test data and the SPECS table having the specifications.
I also need this to occur when I report the data for a given batch on a report. how do I code the data fields that have no data or specs to not appear on the report (and when I say not appear, I mean take up no room on the form, not just become invisible.)
Please ask any questions and I can provide a sample DB if that would help understand my ramblings.
TPII
I have a few issues in a project I am attempting to fix. I have a database with various tables, forms, reports, and queries. One table, SPECS, contains product specifications for my company. so for example, column names like WeightMax, WeightMin, ADMax, ADMin, Productcode. Each product code has its own specs, but not all products have all the same values specified (one product has a weight max, one has an ADMin, etc.) All possible specification properties are columns in the table SPECS and each property has a min and max field so I can test the new production data against it and see if the test value is in or our of spec.
when I make and test a new batch of product, I want to have a dynamic form for entering the test data of new production that only shows the specifications on it that are appropriate for the given PRODUCTCODE in the SPECS table. So I envision a form with a field where I can enter the PRODUCTCODE and have the form look up the values of the specification from the table SPECS and enters the Name of the property, the min and max values, then has a field for the actual value (defined by a lot#). so I have a Table called LOTDATA for current test data and the SPECS table having the specifications.
I also need this to occur when I report the data for a given batch on a report. how do I code the data fields that have no data or specs to not appear on the report (and when I say not appear, I mean take up no room on the form, not just become invisible.)
Please ask any questions and I can provide a sample DB if that would help understand my ramblings.
TPII