Hello everybody,
I am creating a company database and I am in the phase of creating forms. What I want is to have read only forms for orders, customers, etc. I already have those.
Here are some examples:
This is the orders overview form. Each order has a button to display a corresponding Order details form. The second button in the header says "Create a new order" in English.
This is the order details form with a subform of individual units. Read only as well, the button at top says "Edit order"
The thing is that I don't want to allow users to accidentaly modify data. If they want to modify them, they need to press a respective button. A form would open in a dialog mode with options "Cancel" and "Save and close".
Add a new order button will open a form in add mode, all fields blank, edit order will display the same form but with the record opened and allowed for editing.
What is the best way to approach this? Use VBA or macros? It is my first database so I haven't created data entry forms before.
Specific questions I have:
- How do I create a form in add new record mode?
- How do I force that same form to open at a specified record? (When "edit order" button is pressed)
- How do you recommend to approach editing individual units? Is it possible to have a subform in the data entry form where I can add/modify units?
- If it is a data entry form, it should be connected to a table, not a query, correct?
- I tried to play with the options a bit. I tried to take a form and change DATA ENTRY in the property sheet to YES. I still cannot edit the data. Why is that?
Thank you very much,
Tomas