Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-2008, 03:03 AM
Junior Member
 
Join Date: Nov 2007
Posts: 5
iTrader: (0)
soniqantranig is on a distinguished road
Default Form Transaction Processing

End-users would like the startup form to behave much like Excel as far as saving the data being inputted i.e. they'd like to go ahead and modify the data but be able to commit the modifications only when they're ready to with a "Save" button or something of the sort, otherwise the data would remain unchanged.
Any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-14-2008, 08:10 AM
Member
 
Join Date: Oct 2007
Posts: 41
iTrader: (0)
TonyES is on a distinguished road
Default

One of the option would be to create a copy of the Prevision table, and to bind the form to a query based on the copy instead of the original. When the user clicks Save, transfer the records to the original table. And the other option would be to create an unbound version of the form, but that would be a lot of work. For an unbound form, you'd have to create a text box for each field and for each of the 24 hours of the day - an unbound form by definition is not a continuous form, so you must simulate it. You don't necessarily need After Update event procedures for the controls. When the form is opened to edit existing records, you'd use ADO or DAO code to open a record set, then loop through its records and fields to populate the controls on the form. The Save command button would use ADO or DAO code to add new records or update existing records, as appropriate. The Cancel command button would simply close the form. BeginTrans etc. can be used if you want to roll back the entire save operation if an error occurs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-14-2008, 10:40 AM
Junior Member
 
Join Date: Nov 2007
Posts: 5
iTrader: (0)
soniqantranig is on a distinguished road
Default

Thank you for replying.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-05-2008, 01:24 AM
Junior Member
 
Join Date: Nov 2008
Posts: 3
iTrader: (0)
Justin88 is on a distinguished road
Default

Yah to be honest thats quite true
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:10 AM.