hello.
i know that this is a very long post, but im realy new to access and i'm trying to learn 'on the go' since i have littlle time to finish this project. so first all thanks for reading!
iv'e spent like 1 hour online trying to figure out the soultion but i'm new to access so i'm guessing i'm searching it all wrong.
i have two tables.
one is an inventory table that contains those feilds:
MAPID(PK),amount,name of the map,amount in borrow.
the second table, contains the people that borrowed the maps and contains:
name of the map,MAPID(FK),amount, and other that is unrelated.
so iv'e got two problems.
1. i'm doing a form to the borrowed maps, and the form contains "name of the map"(combo list which is taken from the inventory table).
i wan't that in the amount textbox(which says how many maps the man want's to take) will be a combo box that is less and equls to the amount i have in the inventory table. for exmple:
if i specify that the man takes USA map, and in the inventory i have 10 of those, so in the amount he will be able to take no more then 10 maps.
2. this is connected to 1, but its kinda diffrent.
i need to establish some connection between sevral feilds in those tables.
i wan't that after i add the record, and lets say the customer took 3 maps of usa, i wan't that the amount of maps i have in the inventory table will be updated (so if i had 10, now it will says 7,cause 3 is on borrow).
another connection i wanna make is whenever i insert the record of the borrowed map, the mapID feild(which is FK), will be updated aswell. i can insert a textbox to do that but i want a more elgent way(since i wan't my form to be as short as it can be).
BTW: if you can direct me to a video that contains the answers to my quiestions that will be lovely aswell.
thanks !