I am attempting to design a database in access 97 for the first time and have run into some difficulties.
The general idea is that users can report a defect they have discovered and any maintenance they have carried out. These are individual events but in order to report maintenance the user must search for the corresponding defect record first, by MotorNumber and DateReported.
So far I have created two tables, Defects and Maintenance, and a userform for the input of a defect. The user enters the table number and date, then selects up to three defects from drop down boxes.
All of this information is automatically being entered into the Defects table but how do I get it to go into Maintenance aswell? Is this the best way to go about the problem? If the information is put into the maintenance table then I can run a query to bring up the required fields on the Maintenance userform so that the user can type what maintenance they carried out next to the corresponding defect.
Ideally though, I would like the user to be able to report maintenance in one of two ways. If a defect has been discovered and fixed simultaneously, then it would be better for the user if on the Defect report userform there were a checkbox next to each defect saying “Fixed Yet?” and if they click it then a popup will come up just asking for what they did. Then all of the information would get put into both Defects and Maintenance tables. However, if the defect is left and maintenance is carried out at a later date, then the original defect needs to be searched for and this will require a separate form.
I am hoping that this is a nice simple problem for all you clever lot but not too beneath you to help me!
The general idea is that users can report a defect they have discovered and any maintenance they have carried out. These are individual events but in order to report maintenance the user must search for the corresponding defect record first, by MotorNumber and DateReported.
So far I have created two tables, Defects and Maintenance, and a userform for the input of a defect. The user enters the table number and date, then selects up to three defects from drop down boxes.
All of this information is automatically being entered into the Defects table but how do I get it to go into Maintenance aswell? Is this the best way to go about the problem? If the information is put into the maintenance table then I can run a query to bring up the required fields on the Maintenance userform so that the user can type what maintenance they carried out next to the corresponding defect.
Ideally though, I would like the user to be able to report maintenance in one of two ways. If a defect has been discovered and fixed simultaneously, then it would be better for the user if on the Defect report userform there were a checkbox next to each defect saying “Fixed Yet?” and if they click it then a popup will come up just asking for what they did. Then all of the information would get put into both Defects and Maintenance tables. However, if the defect is left and maintenance is carried out at a later date, then the original defect needs to be searched for and this will require a separate form.
I am hoping that this is a nice simple problem for all you clever lot but not too beneath you to help me!