For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > October 2005 > sage odbc connection









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author sage odbc connection
eSc

2005-10-20, 7:56 am

I am trying to connect to Sage Line 50 data files through odbc
driver (SageLine50v8) from php5 (running on Windows XP pro) by
odbc_connect().
Unfortunately I can not find right connection string and I get back an
error:
"SQL error: Cannot find all files in data path, SQL state 08001 in
SQLConnect"
This is what I am trying to do now:

$connection_string="SageLine50v8";
$conn=odbc_connect($connection_string,'m
arcin','mypassword','');

I am sure there is the way to connect to this data because I have
successfully connected from Excel using the same odbc driver.

Please advise if you can...
Marcin

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com