craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > QuickTable Installation Issues Post New Topic   Post A Reply
flat-file DB driver printer friendly version
next newest post | next oldest post
Author Messages
anand.kannan{@}orange.co.in
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

Hi Ben,
I downloaded the flat-file DB driver from the URL you suggested. It was basically a class file that I had to run from command prompt and then I was guided through the installation. I stored all the files that were extracted in C:\security1\com\orange\clientsidedetails\SimpletextSrc folder. (My driver lies in one of the sub-folders of this).

Now, I have in my classpath, as per your suggestions.....
1. your quicktable2swing11.jar file( which is C:\security1\com\orange\clientsidedetails\quicktable2swing11\lib\quicktable2swing11.jar)

2. swingall.jar ( a kind-of dummy file in the lib directory of jdk1.3)
3. (the third is the .jar file from the DBDriver vendor. In my case, it is the SimpleTxt website.) Instead, I have included C:\security1\com\orange\clientsidedetails\SimpletextSrc folder in the classpath. (I hope it is not the class file that I downloaded that needs to be in the classpath).

Also, what is the name of the driver for the flatFile?

admin{@}quicktable.org
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

Andy,

You should not include the source directory of the driver in classpath (C:\security1\com\orange\clientsidedetails\SimpletextSrc ), instead you should add the class directory to classpath.

The samples included in the samples directory uses this simpletextdriver, so you can have a look at it about how to use this driver, the name format of datafiles, datafile struture etc.

driver name = jdbc.SimpleText.SimpleTextDriver
jdbc url format = jdbc:SimpleText:(directory ,where the data files are located) example: if database flat files are located in c:\temp, jdbc:SimpleText:c:\temp
The data files should have an extension .SDF
For sample data files look at the samples/database directory in the quicktable zip file

Example:
dBTable1.connectDatabase("jdbc.SimpleText.SimpleTextDriver",
"jdbc:SimpleText:c:\\temp",
"" ,"");
Ben

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios