InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantDB: Connecting to Any Text File


when making a connection to a database, is there any validation that the
file is in fact a "prp" file and not just any text file?  I was testing the
connection interface in an application that I am writing.  I decided to test
making a connection to a non-idb database file and surprisingly I obtained a
valid connection, rather than trapping an exception.

I then decided to try the same thing with SQLBuilder from the samples.  I
used the setpath.bat as the database file and during the connection here is
what was created.

setpath$db$Cols$pKey.tbl
setpath$db$Tables$pKey.tbl
$db$types.tbl
setpath$db$Cols.tbl
setpath$db$Indexes.tbl
setpath$db$Tables.tbl
setpath.jrl

What is the procedure for verifying the file is a valid InstantDB prp file
prior to or during a connection?

Larry

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.