hello, just to let everyone know, I am NOT a database designer, I dabble!
I am creating a database for a PD that I work for (writing tickets) so writing CODE is not my thing.
Heres what I want;
objective > supply office needs a database to keep track of uniforms issued with a print out of the current order so the officer can take it to the uniform store. Each officer can return over a period of time and get new items.
heres what I've done;
I created two tables
table1 = EMPLOYEES
fields = ID autonumber
BADGENO > prim Key and is text
RANK
ASSIGNMENT
SHIFT
table2 = INVENTORY with no primary key assigned and is text
fields = BADGNO
DATE
DRESS PANTS
DRESS SHIRT
TIE
excetra...
I made a relationship between the two tables via BADGENO and has
a one-to-many
I then created two forms using the above tables
form1 = UNIFORM ORDERS (EMPLOYEE table) and
form2 = SUBINVENTORY (INVENTORY table)
I opened UNIFORM ORDERS then grabbed the SUBINVENTORY form and
dropped it into the UNIFORM ORDERS form to create the subform
Everything looks good EXCEPT, the two forms dont seem to be linked
I enter infro in the UNIFORM ORDERS form
fill in SHIFT (last field in that form) and the cursor goes to the
BADGENO (first field) in the SUBINVENTORY form
I proceed to complete the order
at the last field in the SUBINVENTORY when I click enter, a new empty
SUBINVENTORY form comes up BUT the UNIFORM ORDERS form does NOT
change (to a new empty record)
and this is also in reverse
when I bring up a already entered officers name in the UNIFORM ORDERS form, his info comes up only in that form and the SUBINVENTORY form
still has the officers orders that I had entered last (not his)
So what have I missed? How do I make only off John Does orders come up
when I put his name into the UNIFORM ORDERS form?
I would love to upload this DB to you but I cant, so you will have to rely on my not so database savy language
Patty
I am creating a database for a PD that I work for (writing tickets) so writing CODE is not my thing.
Heres what I want;
objective > supply office needs a database to keep track of uniforms issued with a print out of the current order so the officer can take it to the uniform store. Each officer can return over a period of time and get new items.
heres what I've done;
I created two tables
table1 = EMPLOYEES
fields = ID autonumber
BADGENO > prim Key and is text
RANK
ASSIGNMENT
SHIFT
table2 = INVENTORY with no primary key assigned and is text
fields = BADGNO
DATE
DRESS PANTS
DRESS SHIRT
TIE
excetra...
I made a relationship between the two tables via BADGENO and has
a one-to-many
I then created two forms using the above tables
form1 = UNIFORM ORDERS (EMPLOYEE table) and
form2 = SUBINVENTORY (INVENTORY table)
I opened UNIFORM ORDERS then grabbed the SUBINVENTORY form and
dropped it into the UNIFORM ORDERS form to create the subform
Everything looks good EXCEPT, the two forms dont seem to be linked
I enter infro in the UNIFORM ORDERS form
fill in SHIFT (last field in that form) and the cursor goes to the
BADGENO (first field) in the SUBINVENTORY form
I proceed to complete the order
at the last field in the SUBINVENTORY when I click enter, a new empty
SUBINVENTORY form comes up BUT the UNIFORM ORDERS form does NOT
change (to a new empty record)
and this is also in reverse
when I bring up a already entered officers name in the UNIFORM ORDERS form, his info comes up only in that form and the SUBINVENTORY form
still has the officers orders that I had entered last (not his)
So what have I missed? How do I make only off John Does orders come up
when I put his name into the UNIFORM ORDERS form?
I would love to upload this DB to you but I cant, so you will have to rely on my not so database savy language
Patty