Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timberline ODBC DSN

Status
Not open for further replies.

TheOnion

Technical User
Jun 19, 2007
1
0
0
AU
Hi we are trying to connect via ODBC to a Timberline (Accounting Package) using Apache and PHP

This is our code and results, I have searched hard and wide and there is lots of talk about this but no answers. Any help appreciated.

This is our PHP code
<?

#test Timberline odbc
echo "test odbc";

$dsn="DSN=Timberline Test Database;DRIVER=Timberline Data;DBQ=\\ServerName\Timberline\Data\Copy Test";
$dbhandle = odbc_connect($dsn,"","")or die("<br>no tl connection");

echo "<br>tl: $dbhandle";

?>

Result

test odbc
Warning: odbc_connect() [function.odbc-connect]: SQL error: [TimberlineODBC][TimberlineODBCEngine ODBC Driver][DRM File Library]Drive or directory unavailable [IO-WIN 3] Screen\OD.scr, SQL state S1000 in SQLConnect in C:\xampp\htdocs\Timberline.php on line 8

no tl connection
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top