on 11/28/03 3:39 PM, jda at jda at his .D.O.T com wrote:
Hi Jon,
> Hi Ruslan, a question. > > I'm updating database files to a new version (modifying some tables), > and the schema is updated as well. I have a field > "MinumumVersionRequired" so that older applications that try to open > the modified databases can tell the user "This database is too new to > be opened by this version" (or words to that effect). > > The problem is that once I've modified the tables, older versions of > the application can't open the database at all! I don't get an error > message, just > > result = db.open(theFolderItem) > > fails. > > Therefore, the older version of the application can't access the > MinimumVersionRequired field. > > Am I missing something?
Do you try open modified db as MyDatabase or Vdatabase ?
You will be able open it only as Vdatabase. But I think it is annoying open it as VDatabase, check, then close and reopen as myDatabase.
Hmm, something must be changed...
I think must be
db.GetVersion()
For db files without opening.
-- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina -------------------------------------------------------------
_______________________________________________ Valentina mailing list Valentina at lists .D.O.T macserve.net http://lists.macserve.net/mailman/listinfo/valentina
©2003 Ruslan Zasukhin |