Book a Demo

Author Topic: Undo everything for this sesssion  (Read 4829 times)

Jeb.Beasley

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Undo everything for this sesssion
« on: July 19, 2005, 12:40:45 pm »
Is there a way to undo an entire session?  I under stand EA is based on a database with a save/as/you/go metaphor, but is there a way to create a backup at startup and revert back to that by quitting without saving the changes?

This is the biggest complaint I get about the product.

If there were some way to start a transaction when openng a project and use the file | save action for commits, that wold be great.

Thanks
Jeb
« Last Edit: July 19, 2005, 12:42:17 pm by Jeb.Beasley »

Olaf.Scheunemann

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • Its been lonely in the saddel since the horse died
    • View Profile
Re: Undo everything for this sesssion
« Reply #1 on: July 21, 2005, 12:29:20 pm »
only thing I could think of is duplicating the EA file (=MS Access database) before starting to work on it - maybe via some macro automatically

I reported this missing undo and was told by a guru that the undo has been requested for a looong time but seems to be too hard to implement :-/

Jeb.Beasley

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Undo everything for this sesssion
« Reply #2 on: July 21, 2005, 12:59:56 pm »
To my simple mind it seems easy. When I open a project file, do a getWorkspace().BeginTrans().   If I do any thing that touches the database, enable "File | Commit" and "File | Undo" If I am satisfied with my progress I will click File | Commit. and it will issue a Commit statement and a new BeginTrans.  If I need to revert back to the state I was in when I started, I could do File | Undo  (or Rollback).

If I attempt to close the application and have an open Trans, it should ask if I want to save (commit) my changes.

re the copy, I could do a little wrapper that did that and map it into the shortcut and also to the file extension eap.  The wrapper coould make a copy, etc.  Not so effective if using a central db repository though.

Jeb
« Last Edit: July 21, 2005, 01:00:50 pm by Jeb.Beasley »

thomaskilian

  • Guest
Re: Undo everything for this sesssion
« Reply #3 on: July 21, 2005, 01:44:38 pm »
EA is based on ACCESS (sic!) and this AFAIK does not support Rollback/Commit

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Undo everything for this sesssion
« Reply #4 on: July 21, 2005, 04:17:16 pm »
I don't know if access does or doesn't support commit/rollback, but I know that at least one of the other databases that EA supports doesn't.  Other than that it would probably be a nice solution.

Simon

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Undo everything for this sesssion
« Reply #5 on: July 21, 2005, 04:22:28 pm »
Have you tried using version control?  You could use it to revert to a previous version.  But, you would need to check the package in to make a version to fall back to.

Jeb.Beasley

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Undo everything for this sesssion
« Reply #6 on: July 21, 2005, 07:03:43 pm »
ThomasKillian,
Thanks for the comment. Access does support transactions, we use them in oour in house applications using the Oledb interface.  I don't know for odbc.

But I don't know what AFAIK is?

Where can I find out more about the pulgin interface?

tnx
jeb

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Undo everything for this sesssion
« Reply #7 on: July 22, 2005, 12:42:21 am »
"pulgin" - more Bantu I expect ...

thomaskilian

  • Guest
Re: Undo everything for this sesssion
« Reply #8 on: July 23, 2005, 01:49:36 am »
Quote
But I don't know what AFAIK is?

As Far As I Know

So I was wrong about Access, but Simon sorted it out