dbTalk Databases Forums  

Inserting data into Visual FoxPro under Linux

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Inserting data into Visual FoxPro under Linux in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bogo
 
Posts: n/a

Default Inserting data into Visual FoxPro under Linux - 12-12-2006 , 09:46 AM






Hi,
Does anyone know how I could insert data into Visual FoxPro files under
Linux (can be in java/php or sth else). I couldn't find working example
of JDBC.
I have tried with:
- atinav (display strange characters)
- hxtt (error: java.sql.SQLException: ./KONTRAH.DBF isn't a database!)
- j-stels (error: java.sql.SQLException: [StelsDBF JDBC driver] Error
while reading data file 'KONTRAH.dbf': Can't open the file
'./KONTRAH.dbf' [XBaseJ] Wrong Version 48)

I think files are ok (comes from external program)

Can I do anything with Visual FoxPro files under Linux, or only under
Windows?

Marcin


Reply With Quote
  #2  
Old   
dcboatright@gmail.com
 
Posts: n/a

Default Re: Inserting data into Visual FoxPro under Linux - 12-14-2006 , 10:35 PM






I would say you probably need to connect to a .dbc
bogo wrote:
Quote:
Hi,
Does anyone know how I could insert data into Visual FoxPro files under
Linux (can be in java/php or sth else). I couldn't find working example
of JDBC.
I have tried with:
- atinav (display strange characters)
- hxtt (error: java.sql.SQLException: ./KONTRAH.DBF isn't a database!)
- j-stels (error: java.sql.SQLException: [StelsDBF JDBC driver] Error
while reading data file 'KONTRAH.dbf': Can't open the file
'./KONTRAH.dbf' [XBaseJ] Wrong Version 48)

I think files are ok (comes from external program)

Can I do anything with Visual FoxPro files under Linux, or only under
Windows?

Marcin


Reply With Quote
  #3  
Old   
swdev2
 
Posts: n/a

Default Re: Inserting data into Visual FoxPro under Linux - 12-20-2006 , 04:48 PM



there's a linux version of adodb, go find it on sourceforge.
You can use it via php, perl and a coupla other things to handle VFP dbf
files.
HTH - regards [Bill]

--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"bogo" <bogo123 (AT) tlen (DOT) pl> wrote

Quote:
Hi,
Does anyone know how I could insert data into Visual FoxPro files under
Linux (can be in java/php or sth else). I couldn't find working example
of JDBC.
I have tried with:
- atinav (display strange characters)
- hxtt (error: java.sql.SQLException: ./KONTRAH.DBF isn't a database!)
- j-stels (error: java.sql.SQLException: [StelsDBF JDBC driver] Error
while reading data file 'KONTRAH.dbf': Can't open the file
'./KONTRAH.dbf' [XBaseJ] Wrong Version 48)

I think files are ok (comes from external program)

Can I do anything with Visual FoxPro files under Linux, or only under
Windows?

Marcin




Reply With Quote
  #4  
Old   
Kenneth Downs
 
Posts: n/a

Default Re: Inserting data into Visual FoxPro under Linux - 01-09-2007 , 06:28 PM



dcboatright (AT) gmail (DOT) com wrote:

Visual foxpro itself will run under Wine just fine.

Fox dos runs easily under dosemu, but of course can't hit the vfp tables.

Though I've never tried it, and have left the windows world for some years
now, I thought that there was a plain old-fashioned odbc driver for foxpro,
so you ought to be able to connect using PHP, no?


Quote:
I would say you probably need to connect to a .dbc
bogo wrote:
Hi,
Does anyone know how I could insert data into Visual FoxPro files under
Linux (can be in java/php or sth else). I couldn't find working example
of JDBC.
I have tried with:
- atinav (display strange characters)
- hxtt (error: java.sql.SQLException: ./KONTRAH.DBF isn't a database!)
- j-stels (error: java.sql.SQLException: [StelsDBF JDBC driver] Error
while reading data file 'KONTRAH.dbf': Can't open the file
'./KONTRAH.dbf' [XBaseJ] Wrong Version 48)

I think files are ok (comes from external program)

Can I do anything with Visual FoxPro files under Linux, or only under
Windows?

Marcin
--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.