JaedenRuiner
Registered User.
- Local time
- Today, 12:07
- Joined
- Jun 22, 2005
- Messages
- 154
Okay,
Far be it for me to comment on the "intelligence" of this in Access, but if you create a form that references a table, it loads that current record. You then are allowed to modify that record through the form and proceed as normal.
Access, when you drop a command button onto that form in design view offers the ability to make that button into a "Save Record" button for you. Why the point? The moment you navigate to the next record, it saves the record for you anyway. I do not like this.
I want the ability that the moment the record is modified (becomes dirty or whatever semantics you prefer using), I want ALL NAVIGATION ability to cease. This includes the Mouse Wheel! At which point I will enable a save or cancel button to save or cancel the current records changes. Once the current record is no longer Dirty I want to reactivate navigation.
The fact that this is NOT the default behavior is probably why I always recommend against using Access to do databases, because with on slip, you can roll that mouse wheel and the navigation moves to the next record and BAM! all those alterations were not committed.
All the "best Practices" articles mention using transactions, but how do you link transactions into the form data binds? *sigh* i so prefer using SQL Server with a .Net front end, but this project requires me to use access so I'm trying to manhandle it into submission. (never an easy task).
Thanks
Jaeden "Sifo Dyas" al'Reac Ruiner
Far be it for me to comment on the "intelligence" of this in Access, but if you create a form that references a table, it loads that current record. You then are allowed to modify that record through the form and proceed as normal.
Access, when you drop a command button onto that form in design view offers the ability to make that button into a "Save Record" button for you. Why the point? The moment you navigate to the next record, it saves the record for you anyway. I do not like this.
I want the ability that the moment the record is modified (becomes dirty or whatever semantics you prefer using), I want ALL NAVIGATION ability to cease. This includes the Mouse Wheel! At which point I will enable a save or cancel button to save or cancel the current records changes. Once the current record is no longer Dirty I want to reactivate navigation.
The fact that this is NOT the default behavior is probably why I always recommend against using Access to do databases, because with on slip, you can roll that mouse wheel and the navigation moves to the next record and BAM! all those alterations were not committed.
All the "best Practices" articles mention using transactions, but how do you link transactions into the form data binds? *sigh* i so prefer using SQL Server with a .Net front end, but this project requires me to use access so I'm trying to manhandle it into submission. (never an easy task).
Thanks
Jaeden "Sifo Dyas" al'Reac Ruiner