dbase

Copying to/from Dbase data using Access

假如想象 提交于 2019-12-02 11:46:17
I am stuck with some legacy back ends using dBase IV, and would like to be able to copy records from one table to another using an Access front end. The simple answer would be to link to the source and destination tables and run an INSERT query or similar. However, in my situation, the back end is not a single DBF file, but there are several hundred files that I need to dynamically link to for the copy operation. Currently I have to change and refresh the link definition using the TableDefs property (in VBA) every time I wish to perform the copy operation. The catch is the front end is shared,

Generating dBase II DBF File in C# 3.5

*爱你&永不变心* 提交于 2019-12-02 11:03:45
I'm generating dbf file to get imported to legacy systems that only accepts dBase II OR III. My aplication is .Net 3.5. I initially started working with this component VFPOLEDB.1 but it only generate dbf files in dBase V format which isn't backwards compatibily. Anyone knows a component or driver to generate de dbf file in dBase II or III Thanks DRapp Try issuing a call to execute a script that opens the file, then does COPY TO {some file} type FOX2X that should get you the output... There was another post of a similar all being done via C# through the VFPOleDB and I'll try to find it... Yup,

Efficient way to bulk insert into Dbase (.dbf) files

五迷三道 提交于 2019-12-01 18:59:49
Im currently using OleDBCommand.ExecuteNonQuery (repeatedly called) to insert as much as 350,000 rows into dbase files (*.dbf) at a time from a source DataTable. I'm reusing an OleDbCommand object and OleDbParameters to set the values to be inserted each time when the insert statement is called. Inserting 350,000 rows currently takes my program about 45 mins. Is there a more efficient way to do this? Does something similar to the Bulk Insert option used in SQL Server exist for Dbase (*.dbf) files? Fixed the problem by changing the OleDB driver from Jet to vfpoledb. This cut the total time from

Installing dBase extension in XAMPP

我与影子孤独终老i 提交于 2019-12-01 07:34:58
I have a problem with installing dBase extension in XAMPP with PHP 5.5.11. I added php_dbase.dll to php/ext folder and added following line to the php.ini file: extension=php_dbase.dll But when I try this code in my script: dbase_open('file.dbf'); I got an error message: Call to undefined function dbase_open()' How to properly install dBase extension? Try with this link: http://pecl.php.net/package/dbase/5.1.0/windows In my case i have: XAMPP 1.8.3 [PHP: 5.5.15] And i use: php_dbase-5.1.0-5.5-ts-vc11-x86.zip Download the correct version for your PHP windows environmet. Regards, Avinash Babu

How to open DBase files (.DBF) in Matlab?

寵の児 提交于 2019-12-01 04:36:05
I've googled and searched through Matlab Central, but cannot find any way to open DBF files directly in Matlab. There are some references to DBFREAD function in TMW File Exchange, but it's not available anymore. Is it really a problem? I do have Database toolbox, but could not find dbf support there. I don't want to use Excel or other tools for converting files outside of Matlab, since I have a lot of files to process. ODBC also is not good, I need the code to work under Mac and Unix as well. Please help. I contacted with Brian Madsen, the author of DBFREAD function, which was deleted from

Installing dBase extension in XAMPP

隐身守侯 提交于 2019-12-01 04:16:55
问题 I have a problem with installing dBase extension in XAMPP with PHP 5.5.11. I added php_dbase.dll to php/ext folder and added following line to the php.ini file: extension=php_dbase.dll But when I try this code in my script: dbase_open('file.dbf'); I got an error message: Call to undefined function dbase_open()' How to properly install dBase extension? 回答1: Try with this link: http://pecl.php.net/package/dbase/5.1.0/windows In my case i have: XAMPP 1.8.3 [PHP: 5.5.15] And i use: php_dbase-5.1

Php, odbc & vfp

感情迁移 提交于 2019-11-30 07:41:09
问题 I'm trying to connect a dbf database with php. I've tried several different ways, with no luck. PHP: 5.3.8 File: C:\xampp\htdocs\work\vcabdoc.dbf 1rst way: created data source dbvfp, driver C:\Windows\system32\vfpodbc.dll used $odbc = odbc_connect ('dbvfp', '', '') or die('Could Not Connect to ODBC Database!'); Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Visual FoxPro Driver]File c:\xampp\htdocs\work\vcabdoc.dbf is not a database., SQL state S1000 in

Php, odbc & vfp

被刻印的时光 ゝ 提交于 2019-11-29 05:19:21
I'm trying to connect a dbf database with php. I've tried several different ways, with no luck. PHP: 5.3.8 File: C:\xampp\htdocs\work\vcabdoc.dbf 1rst way: created data source dbvfp, driver C:\Windows\system32\vfpodbc.dll used $odbc = odbc_connect ('dbvfp', '', '') or die('Could Not Connect to ODBC Database!'); Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Visual FoxPro Driver]File c:\xampp\htdocs\work\vcabdoc.dbf is not a database., SQL state S1000 in SQLConnect in C:\xampp\htdocs\WORK\odbc.php on line 5 2nd way: include('\xampp\php\PEAR\adodb\adodb.inc.php');

How to read/write dBase III files using C#/.NET ODBC or OLE?

时光怂恿深爱的人放手 提交于 2019-11-29 02:09:18
I have searched for various techniques on how to read/write dBase III (dbf) files using OLEDB or ODBC with C#/.NET. I have tried almost all of the tecniques posted, but without success. Can someone point me in the right direction? Thanks for your time. Something like ... ? ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=e:\My Documents\dBase;Extended Properties=dBase III" Dim dBaseConnection As New System.Data.OleDb.OleDbConnection(ConnectionString ) dBaseConnection.Open() From: http://bytes.com/forum/thread112085.html Dejan Janjušević I realize this is an old thread,

How to read/write dBase III files using C#/.NET ODBC or OLE?

谁说胖子不能爱 提交于 2019-11-27 16:32:17
问题 I have searched for various techniques on how to read/write dBase III (dbf) files using OLEDB or ODBC with C#/.NET. I have tried almost all of the tecniques posted, but without success. Can someone point me in the right direction? Thanks for your time. 回答1: Something like ... ? ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=e:\My Documents\dBase;Extended Properties=dBase III" Dim dBaseConnection As New System.Data.OleDb.OleDbConnection(ConnectionString )