bde

What is a good way of accessing dBase files using BDE and Delphi?

◇◆丶佛笑我妖孽 提交于 2019-12-24 11:28:47
问题 First of all, I must state that I'm a complete newb when it comes to Delphi, although I did some Turbo Pascal programming in school, some fourteen years ago... I have a commercial Delphi program which uses dBase database and BDE for accessing them. I basically need to interface another application written in C# to this database, to be able to do SQL operations such as select, insert, update and delete. Unfortunately using OLEDB against dBase results in broken indexes, only native BDE apps

ADO Error exception handling?

大兔子大兔子 提交于 2019-12-24 02:37:14
问题 I just switched from using the BDE to ADO by replacing the Tables and Queries to its equivalent in ADO components. I'm always execute the query inside try...catch like this: //Fdm is Data Module //TEndOfDay is TTable //QEndOfDay is TQuery Screen->Cursor = crSQLWait; Fdm->QEndOfDay->SQL->Add("SELECT * FROM TEndOfDay"); try{ Fdm->QEndOfDay->ExecSQL(); Fdm->QEndOfDay->Open(); Screen->Cursor = crDefault; } catch (EDBEngineError &DBEngineError){ strError = DBEngineError.Message; Screen->Cursor =

How can I keep my DB connection from failing when the network is unstable?

依然范特西╮ 提交于 2019-12-21 02:35:18
问题 We have a application that uses BDE connected to an Oracle DB. I use TQuery for the SQL queries, and it connects to TDatabase, we are not professional programmers, and we don't know what happens under the hood. Our network is unstable, we have an issue with packet loss. When the problem occurs, our application disconnects from the DB server, or fails to finish the current query. What is the best way to handle this? Our networking team is currently working to fix the root issue, and we have

BDE vs ADO in Delphi

蓝咒 提交于 2019-12-17 22:38:06
问题 Please note the Edit below for a lot more information, and a possible solution We recently modified a large Delphi application to use ADO connections and queries instead of BDE connections and queries. Since that change, performance has become terrible. I've profiled the application and the bottleneck seems to be at the actual call to TADOQuery.Open . In other words, there isn't much I can do from a code standpoint to improve this, other than restructuring the application to actually use the

BDE to ADO conversion in DELPHI 5

佐手、 提交于 2019-12-13 10:46:26
问题 I have an application in my company. I want to convert it from BDE to ADO Connection. I searched almost everywhere, I did not find any good answer. The AIM IS Convert that BDE connection to ADO connection but we need to use TQuery component to fetch data from database. So, it will look like we are using BDE but internally it uses ADO Connection. So, please answer this question you cant imagine, how thankful i will be. 回答1: ... if somehow we can set the database Alias to ADO connection ...

Opening Paradox database; 'PDOXUSRS.NET' workaround?

非 Y 不嫁゛ 提交于 2019-12-10 19:33:33
问题 I'm writing an application that has to open a preexisting BDE database that has been saved by a third party. In this application, I currently have a TDatabase ( DriverName : STANDARD ) with path set correctly in Params . I can now set Connected to true without an error message. There is also a TTable with DatabaseName set to the values of the TDatabase and TableName set to the .db-file that lies in the folder (the name was automatically filled in, I only hat to select it). Now the problem: If

Why does setting a table's RecNo property not move to that record?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 13:17:59
问题 I have got a TTable component that uses the BDE to access a DBase table. There is no index on the table, so the sort order is the physical order of the records in the table. If I read the RecNo property, it contains the expected number for the current record. I was under the impression that with this constellation (BDE + DBase) it is also possible to set the RecNo property to move to the corresponding record. But apparently this does not work in my program. So: Do I remember this incorrectly?

interbase and BDE on windows 7

风流意气都作罢 提交于 2019-12-09 02:47:45
问题 OK I know this has been deprecated, and bde is older than Moses, but we have some legacy applications that have not been migrated still using bde. Has anyone been successfull in installing bde WITH the interbase sql links fully configured for windows 7 (32 and 64 bit)? I have found a many different posts and executables, but nothing conclusive. Thanks 回答1: finally found a solution that works nicely. Though i should share it download: Borland Database Engine (including SQL Links) works nicely.

BDE administrator net dir

与世无争的帅哥 提交于 2019-12-08 05:11:47
问题 I am learning BDE adminstrator and I was wondering if there was a way to write a script/command(that i can run by double clicking) to add the net dir to a certain directory path ? I looked through the windows registry editor, and tried to find the net dir but it was not there. 回答1: The NET DIR setting is stored in the BDS configuration file. This file, by default, is named IDAPI.CFG and is stored in %PROGRAMFILES%\Borland\Borland Shared\BDE\IDAPI.CFG . It can be changed to a different name

BDE, Windows 7 and UAC

别来无恙 提交于 2019-12-07 22:36:17
问题 I have a very old application written in delphi 5 running in some customers which uses the BDE. Now some users with Windows Vista and 7, had experimented some problems with the multiuser access. i' think which these problems are related to the location of the net .and .lck files. so the question is which is the proper way to confgure the BDE under Windows Vista and 7 to avoid permissions and UAC conflicts? 回答1: In addition to the above answer, you'll want to make sure that the .net and .lck