Kyrgyzstanart
New member
- Local time
- Today, 13:40
- Joined
- Jun 1, 2009
- Messages
- 2
Hello Access Gurus,
I am really new to Access. Using 2007 version of the application. I created my tables and relationships, and some forms to be able to edit and enter new information in my DB.
I noticed that when I open a form w/ an existing record on it - it's very easy to make a mistake and change a record somewhat. I want to avoid as much as possible this accidental change of the record, but allow creation of a new record AND intentional editing of the existing ones.
Here is my idea:
- When the form is opened, the user has "read-only" access by default to all of the controls on that form;
- then if the user needs to edit the record he/she would press a button that will switch the form for the record to the "read-write" mode;
- then when the user goes to the next existing record the form automatically goes back to the default state ("read-only") and if the user needs to change it too he/she will have to press that "read-write" button again;
- then if the user needs to create a new record he/she presses another button that opens a new record in "read-write" mode.
I guess all of the above will need to be done through a macro, it's just that since I am new to Access I don't know what code I will need...
Could anybody help me, please?
Greatly appreciated!
I am really new to Access. Using 2007 version of the application. I created my tables and relationships, and some forms to be able to edit and enter new information in my DB.
I noticed that when I open a form w/ an existing record on it - it's very easy to make a mistake and change a record somewhat. I want to avoid as much as possible this accidental change of the record, but allow creation of a new record AND intentional editing of the existing ones.
Here is my idea:
- When the form is opened, the user has "read-only" access by default to all of the controls on that form;
- then if the user needs to edit the record he/she would press a button that will switch the form for the record to the "read-write" mode;
- then when the user goes to the next existing record the form automatically goes back to the default state ("read-only") and if the user needs to change it too he/she will have to press that "read-write" button again;
- then if the user needs to create a new record he/she presses another button that opens a new record in "read-write" mode.
I guess all of the above will need to be done through a macro, it's just that since I am new to Access I don't know what code I will need...
Could anybody help me, please?
Greatly appreciated!