I developed a database that keeps track of all assets in our technology department. We are in the process of "retiring" some assets, example, computers. Thus I have created two tables, tblComputers and tblRetiredComputers. I have added a command button to my Computer form that users can click on to retire an asset. It appends the record to the tblRetiredComputers and deletes it from tblComputers.
This works good, except for the fact that it's prompting the user to enter the asset number everytime they hit the button.
In my queries I have a criteria where tblComputers.AssetNumber = [Forms]![frmRetiredComputers]![AssetNumber]
Thus, everytime a user goes to retire an asset, this paramter pops up wanting the user to enter the AssetNumber. Is there a way I can get it to automatically look at the asset number, instead of having the user re-enter it when they want to retire the asset?
I think I am definitely out of my realm of expertise, so any suggestions would be greatly appreciated. Thanks.
This works good, except for the fact that it's prompting the user to enter the asset number everytime they hit the button.
In my queries I have a criteria where tblComputers.AssetNumber = [Forms]![frmRetiredComputers]![AssetNumber]
Thus, everytime a user goes to retire an asset, this paramter pops up wanting the user to enter the AssetNumber. Is there a way I can get it to automatically look at the asset number, instead of having the user re-enter it when they want to retire the asset?
I think I am definitely out of my realm of expertise, so any suggestions would be greatly appreciated. Thanks.