Hello all. Again I come here for help.
I need some help writing, what I think, must be an easy code.
I have a form "frmItems" listing every item in a shop. Connected to this form is "frmItemLocated" which tells where exactly each item is stored.
The "tblItems" is the parent to "tblItemLocated".
On the form "frmItems" i have a button that opens the "frmItemLocated" so one can see where the item is. The code behind this button works nice, and the "ItemID" is passed along with information on the items current location. But i want to be able to move the item around.
I have made a new button on "frmItemLocated". I want to write code so that when this button is clicked you get a new record in the "frmItemLocated", and I want the "ItemID" field to be passed along to the new record so the information about the new location is still connected to the item.
Again sorry for my bad english. Hope you understand the problem.
I need some help writing, what I think, must be an easy code.
I have a form "frmItems" listing every item in a shop. Connected to this form is "frmItemLocated" which tells where exactly each item is stored.
The "tblItems" is the parent to "tblItemLocated".
On the form "frmItems" i have a button that opens the "frmItemLocated" so one can see where the item is. The code behind this button works nice, and the "ItemID" is passed along with information on the items current location. But i want to be able to move the item around.
I have made a new button on "frmItemLocated". I want to write code so that when this button is clicked you get a new record in the "frmItemLocated", and I want the "ItemID" field to be passed along to the new record so the information about the new location is still connected to the item.
Again sorry for my bad english. Hope you understand the problem.