paradox

Paradox database file

我与影子孤独终老i 提交于 2019-12-22 05:36:40
问题 I found paradox database files with different extension. There are db file, mb file, dat file, px file, XG0 file, XG1 file, XG2 file, XG3 file, XG4 file, YG0 file, YG1 file, YG2 file, YG3 file and YG4 file. I already found way to open db file and px file using gnumeric spreadsheet. I found some of needed data from db file. But, rest of data not in db file. So, i have to open rest of files. I cant find software that can read those files. 回答1: Unfortunately, Borland has never documented the

Could not open Paradox.net

柔情痞子 提交于 2019-12-13 22:39:17
问题 Trying Delphi 10.2 Tokyo with Paradox FireDAC ODBC on Windows 10 throws error Could not open Paradox.net. This link describes the problem: https://msdn.microsoft.com/en-us/library/bb221383(v=office.12).aspx An Embarcadero FireDAC ODBC connection to Paradox table, by default will set ParadoxNetPath to System32 folder: ODBCAdvanced=CollatingSequence=ASCII;DefaultDir=C:\DEV\TPDEMOS\DATA;DriverId=538;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=600;ParadoxNetPath=C:\Windows\system32

Display database structure from Delphi (rad studio)

旧巷老猫 提交于 2019-12-13 09:24:15
问题 Here is my procedure. When I execute it nothing happens; why is this? FData.FDQuery1.SQL.Clear; FData.FDQuery1.SQL.Add('select StrDBName FROM INFORMATION_SCHEMA.TABLES'); FData.FDQuery1.ExecSQL; while FData.FDQuery1.Eof do ShowMessage(FData.FDQuery1.Fields[0].ToString); end; 回答1: As already explained to you in comments, your while loop should look something like this: while **not** FData.FDQuery1.Eof do **begin** ShowMessage(FData.FDQuery1.Fields[0].ToString); **FData.FDQuery1.Next;** end;

How to convert Paradox to Excel

元气小坏坏 提交于 2019-12-13 03:48:24
问题 I am trying to work with Paradox files and convert these to an Excel file. Does anyone know how to achieve such conversion? 回答1: I wrote a small Python script to read Paradox .DB files. But please be careful, it's not complete: some field types may not be converted (only memos AFAIK, but I'm not a Paradox expert). https://gist.github.com/BertrandBordage/9892556 You can either read a .DB file as Python objects using paradox.read('your_file.DB') or convert it to a CSV file using paradox.to_csv(

Delphi Dbgrid delete a record

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 03:49:35
问题 I have a multiple tabsheet. Each tabsheet in my PageControl that contain an Dbgrid with some button to manipulate this dbgrid. Sometimes, when i click on button remove, my DBGrid not change. After delete, i see my value in my DBgrid. If MyTable.recordcount > 0 then begin str := 'Value of name field/**' + MyTable.FieldByName('Name').AsString+'**/'; If Application.MessageBox(PChar(str), PChar('NAME'), MB_OKCANCEL + MB_ICONQUESTION) = IDOK then begin MyTable.Delete; end; end; I try to add

ODBC leaking memory in c# application

江枫思渺然 提交于 2019-12-11 21:26:53
问题 I've seem to have a memory leak. I found a post on stackoverflow recommending 'using' method but this doesn't seem to fix the issue. I am using Red Gate memory profiler which shows an increase in unmanaged memory constantly rising. This is the simple application I made to test: namespace TimerDebug { public partial class TimerDebug : ServiceBase { public TimerDebug() { InitializeComponent(); } protected override void OnStart(string[] args) { // Create Timer Timer MyTimer = new Timer(500);

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

Problem with Insert query to Paradox table using C#

只谈情不闲聊 提交于 2019-12-10 03:49:19
问题 I have Paradox 5.x tables i need to connect to in order to select and update. I am using OLEDBConnection. selecting from the tables i have no problem. while trying to insert into the tables i met a problem when i entered hardcoded the fields namesi got an error: The INSERT INTO statement contains the following unknown field name: ... so i used OleDbDataReader.GetName(...) to get fields names. now i use the fields names recived from table in order to insert into table and i still get the same