Hi,
I'm building an Access application to manage various kind of products located somewhere.
I have a table for locations, and a table for every kind of product (because they have different attributes). Locations have an ID, and every product has that ID based on its location: that is how my tables are related.
I'm new to Access but I've already done some macros with Excel, and I'm using Office 2003.
My application now has a main form, on its top user can view and search location, and in the middle there are some tabs that contain subforms, one for every kind of product.
When user selects a location, he can view all products located there clicking on tabs.
Now my problem is that I want to protect products attributes from accidentally editing, but user must have the chance to add a product in a location: I don't know what's the better way to do this, so I need your suggestions and point of view!
Now I have set Recordset property of each subform as Snapshot, so user can only view data but can't edit them.
I thinked to put a button on every subform to open another product form as Data Entry, but in this case I want to catch the location selected when the button is clicked, and automatically put it in the product Data Entry form.
Do you think this is a good solution?
How can I do this?
Thanks.
I'm building an Access application to manage various kind of products located somewhere.
I have a table for locations, and a table for every kind of product (because they have different attributes). Locations have an ID, and every product has that ID based on its location: that is how my tables are related.
I'm new to Access but I've already done some macros with Excel, and I'm using Office 2003.
My application now has a main form, on its top user can view and search location, and in the middle there are some tabs that contain subforms, one for every kind of product.
When user selects a location, he can view all products located there clicking on tabs.
Now my problem is that I want to protect products attributes from accidentally editing, but user must have the chance to add a product in a location: I don't know what's the better way to do this, so I need your suggestions and point of view!
Now I have set Recordset property of each subform as Snapshot, so user can only view data but can't edit them.
I thinked to put a button on every subform to open another product form as Data Entry, but in this case I want to catch the location selected when the button is clicked, and automatically put it in the product Data Entry form.
Do you think this is a good solution?
How can I do this?
Thanks.