changing LANGDRIVER at runtime 
Author Message
 changing LANGDRIVER at runtime

I've got to open dBase Files in a Delphi-3-Application.
The problem is that I don't have control over the
driver settings in the global BDE-Configuration, so I have to
set the correct LANGDRIVER for the DBase driver at
runtime.
Does anybody know, how to do this ?
I've tried the following yet:
(1) Changing the driver setting of the session:

session.ModifyDriver('DBASE',<TStringList with "LANGDRIVER=...">);
This has no effect. Still the setting of the BDE configuration is used.
(2) Creating a new database object with the correct driver:
database: TDatabase ;
...
database.driverName:='STANDARD'
database.params.add('LANGDRIVER=...');
The parameter LANGDRIVER is ignored, because the driver STANDARD
doesn't know this parameter.
The drivername "DBASE" which has the LANGDRIVER-Parameter cannot be assigned
to TDatabase.driver.
Thank you for any help.
(Please answer via e-mail also)
Marc



Wed, 18 Jun 1902 08:00:00 GMT
 changing LANGDRIVER at runtime

Sorry for multiple posting, I had some fights with that Internet Explorer
News reader.


Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Changing LANGDRIVER at runtime

2. Delphi 1: Change langdriver at runtime

3. How can I change LANGDRIVER of table programatically?

4. Changing Paradox LangDriver in Code

5. LangDriver?

6. LANGDRIVER

7. several LANGDRIVER with DBASE

8. BDE LANGDRIVERS

9. BDE langdriver

10. LangDriver Paradox

11. Need CYRILLIC langdriver for PDOX 8

12. HEEEELP : Converting Table to new LangDriver


 
Powered by phpBB® Forum Software