shrndegruv
Registered User.
- Local time
- Yesterday, 16:47
- Joined
- Sep 8, 2004
- Messages
- 58
Hi all
I am creating an apartment unit inspection DB. Each unit has a number of rooms, and each room has a number of condition. So I am thinking of Table design such as:
Apartment Unit <-- Kitchen
^--------- Bedroom
^--------- Bathroom
^--------- Bedroom (variable)
so each of the rows in the tables in the second column matches to one row in the ApartmentUnit table. Now every room has conditions, like WindowConditions, PaintConditions, that have to be entered, so Im thinking every row in those 2 tables will match with a row in one of the tables I listed in the second column.
Sound reasonable?
Where it gets complicated is, how do I represent all of this in a form. When I create a unit via form, I already have to create a variable number of bedrooms which I do with VB. How do I handle the conditions. Ideally the user will not realize that rows in tables are being created when they enter info.
What I am thinking is that I will just create a Window condition for each of Kitchen, Bedroom, Bathroom as they are creaeted (there is only one window condition for each room, not one for each window).
Im just bouncing my idea off this board to make sure Im doing it as simply as possible.
thanx
I am creating an apartment unit inspection DB. Each unit has a number of rooms, and each room has a number of condition. So I am thinking of Table design such as:
Apartment Unit <-- Kitchen
^--------- Bedroom
^--------- Bathroom
^--------- Bedroom (variable)
so each of the rows in the tables in the second column matches to one row in the ApartmentUnit table. Now every room has conditions, like WindowConditions, PaintConditions, that have to be entered, so Im thinking every row in those 2 tables will match with a row in one of the tables I listed in the second column.
Sound reasonable?
Where it gets complicated is, how do I represent all of this in a form. When I create a unit via form, I already have to create a variable number of bedrooms which I do with VB. How do I handle the conditions. Ideally the user will not realize that rows in tables are being created when they enter info.
What I am thinking is that I will just create a Window condition for each of Kitchen, Bedroom, Bathroom as they are creaeted (there is only one window condition for each room, not one for each window).
Im just bouncing my idea off this board to make sure Im doing it as simply as possible.
thanx