Unix Technical Forum

Foxpro 2.6 connectivity

This is a discussion on Foxpro 2.6 connectivity within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi, I am trying to upload some data from Foxpro2.6 for Windows into Oracle. I don't have Foxpro Connectivity ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:44 PM
Eve
 
Posts: n/a
Default Foxpro 2.6 connectivity

Hi,
I am trying to upload some data from Foxpro2.6 for Windows into Oracle.
I don't have Foxpro Connectivity instruction book, so I was searching
the web and trying to figure it out. When I run foxpro command
handle = DBConnect(HOracle,"username","password","") to connect through
ODBC
It came back with the message "DBconnect.prg" not found.
Could anyone please help me with this? Thank you very much.
E.


*** Sent via Developersdex http://www.developersdex.com ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:44 PM
Cindy Winegarden
 
Posts: n/a
Default Re: Foxpro 2.6 connectivity

Hi Eve,

I'm confused. This is a SQL Server group. Are you using SQL Server at all?

What language are you writing your upload program in? FoxPro 2.6? DBConnect
is a function in one of the Connectivity Kit programs. Have you used "Set
Procedure To C:\MyPath\MyProgramWithDBConnectInIt.prg" to tell FoxPro where
to look for the DBConnect function?

If you have more problems I suggest you post to microsoft.public.fox.*.

Have you considered joining the 21st century? The latest version of FoxPro
is Visual FoxPro 9 (came out this winter) and it is compatible with all
versions of FoxPro tables. With VFP9 the connectivity features are built in
so you don't need any extra software.

--
Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Eve" <eve@needhelp.com> wrote in message
news:eNzKzMjVFHA.548@tk2msftngp13.phx.gbl...
> Hi,
> I am trying to upload some data from Foxpro2.6 for Windows into Oracle.
> I don't have Foxpro Connectivity instruction book, so I was searching
> the web and trying to figure it out. When I run foxpro command
> handle = DBConnect(HOracle,"username","password","") to connect through
> ODBC
> It came back with the message "DBconnect.prg" not found.
> Could anyone please help me with this? Thank you very much.
> E.
>
>
> *** Sent via Developersdex http://www.developersdex.com ***



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 09:44 PM
Eve
 
Posts: n/a
Default Re: Foxpro 2.6 connectivity

Hi Cindy,
Thanks for your response. I figured it out. I copied the FPSQL.fll
file to my foxpro dir. and the error message was gone, but it still
didn't work (because foxpro is 16-bit and oracle is 32-bit). I had
tried to do it from Oracle side but ran into problem with initialization
file with the DBA. I still have a small Foxpro program to maintain
until we coorperate it into our existing Oracle system (and we won't go
into Visual Foxpro). I am doing the data uploading to save users' data
entry time while working on the new development.
Anyway, I have found a way to go around that problem (user will spill
data from foxpro and we will run a scheduled sql loader to load data
in).
Thanks (and yes, I am in the 21st century ;-)) Sorry if I posted to the
wrong group, but I was desperate and I thought my problem had smth to do
w/sqlldr too so...
Eve



*** Sent via Developersdex http://www.developersdex.com ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com