Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Language drivers

Posted on 1998-04-16
5
Medium Priority
?
194 Views
Last Modified: 2010-04-06
How do you specify a language driver programatically.
I need to change the language driver for a paradox table, when I create the table at runtime. I do not wish to use the BDE configuration utility.
0
Comment
Question by:KE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Expert Comment

by:SQLwill
ID: 1361589
You should use the DBICreateTable call to create the table at run time.  Using the optional parameters, you can declare a different language driver when the table is created.  If you need to get the optional parameters, you may use the BDE API function DbiOpenCfgInfoList.  The BDE API help offers extensive support on these functions.
0
 
LVL 3

Author Comment

by:KE
ID: 1361590
Thanks,

I've already looked at the DBI functions, but they seem a little "harry" for such a simple matter - I was thinking of maybee setting a parameter in the TDatabase or use the ModifyDriver in TSession.
The DBICreateTable takes a ton of parameters, and is not the easiest thing to implement (even there's a ported example).
Anyway thanks a lot - I'll reopen the question to see if some could provide an easier solution - otherwise the points is all yours.

0
 

Expert Comment

by:SQLwill
ID: 1361591
No problem - i know how nasty those BDE functions can get.  I don't think, however, that there will be another way to change language drivers at run time.  If you do find it, i would love to hear how it's done. =]  In the meantime, I'll poke around TSession and TDatabase myself to see what I can come up with.

Regards
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 300 total points
ID: 1361592
Hi KE,

I suggest to have a look at this page :

http://www.borland.com/devsupport/bde/bdeapiex/dbiopencfginfolist.html

If you still can't get out of the problem (or you can't change example to your needs), just give a ring a I'll help you figuring it out.

Regards, Zif.
0
 
LVL 3

Author Comment

by:KE
ID: 1361593
It's seems like an easier solution, so I'll try to implement it and return later with a grade.
Thanks !

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question