Hi to all!
I have a form "Products". I want to add two buttons, one named "See photos" and one named "Assign photos". Both of them will open the same form "Photos", but the first will open the form in a state that will not allow the user to change anything, while the second will allow the user to add or edit the photos assigned to the Product.
The problems I have are:
1. How do I force the "Photos" form to open in "view only" mode when I click the "See photos" button?
2. How do I force the "Photos" form to open in "edit" mode when I click the "Asign photos" button, so that the "Photos" form will have the Product ID pre-entered and not be required to be added by the user?
Note that the "Photos" form is bound to a table named "Photos", that has an field named ProductID which is what connects this table with the Products table.
Hope I explained everything...
Thank you in advance
I have a form "Products". I want to add two buttons, one named "See photos" and one named "Assign photos". Both of them will open the same form "Photos", but the first will open the form in a state that will not allow the user to change anything, while the second will allow the user to add or edit the photos assigned to the Product.
The problems I have are:
1. How do I force the "Photos" form to open in "view only" mode when I click the "See photos" button?
2. How do I force the "Photos" form to open in "edit" mode when I click the "Asign photos" button, so that the "Photos" form will have the Product ID pre-entered and not be required to be added by the user?
Note that the "Photos" form is bound to a table named "Photos", that has an field named ProductID which is what connects this table with the Products table.
Hope I explained everything...
Thank you in advance
Last edited: