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_str ing="SageLine50 v8";
$conn=odbc_conn ect($connection _string,'marcin ','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... 2 8345
> 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_str ing="SageLine50 v8"; $conn=odbc_conn ect($connection _string,'marcin ','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.
Have a look here : http://www.connectionstrings.com/
I only know about Sage line 500, but that runs on SQL server (for example).
So you will need the odbc connection string to the underlying database (or
inbuilt PHP functions such as mysql_connect). Your connection string there
looks like the name of the database. It needs to look more like (MySQL
example)
DRIVER={MySQL ODBC 3.51
Driver};SERVER= localhost;DATAB ASE=myDatabase; USER=myUsername ;PASSWORD=myPas s
word;OPTION=3;"
I've made for myself file test.udl where I have this:
Provider=MSDASQ L.1;Password=my password;Persis t Security Info=True;User
ID=marcin;Data Source=SageLine 50v8;Mode=Read
and when I am testing connection diectly from windows (MDA OLE DB)- it
works but if I am using this as my connection string in php it gives me
an error.
ps. sage (line 50 v8) is not working on real dbms system - this odbc
driver let you read (only) the data store in their data files. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: cheungs7 |
last post by:
Hi all,
Wondering whether you can anyone help me. We have Sage Payroll (and
accounting/payroll software), which has a MS Access database where the data
is stored.
Now I want to access the data in this database but whenever I do (without
using the Sage payroll client application) I get a permission problem. Now
I have the correct username and password, and I tried importing it in a new
Access database, but with no luck. Maybe I'm...
|
by: kj |
last post by:
Hi people,
newcommer here, i know a little ms programming but am new to sage,
Is it possible to connect to sage line 50 with ms access?
TIA
Keith
|
by: cdo4 |
last post by:
I currently have Sage MAS200 SQL (with eBusiness and full support) and looking to launch a consumer ecommerce site. I also have an old website (we took it offline to focus on distribution) written in ASP. The site is from 1998. We now want to launch a new site. I was thinking of running the whole consumer site on PHP/MySQL, but willing to consider ASP.NET. I have the following questions:
1) What is the best way to integrate the MAS200...
|
by: Rshah |
last post by:
Anybody know syntax of sage line 50 query?
how can I write sage line50 database conidtion sql query?
when i write this syntax, get error msg of column not found.
'SELECT c.stock_cat_name, a.stock_code, c.description, a.date,
IIF(MID(a.type,2,1)="I",SUM(a.quantity),0) AS iqty,
IIF(MID(a.type,2,1)="O",SUM(a.quantity),0) AS oqty
FROM stock_tran AS a LEFT JOIN stock AS c ON c.stock_code=a.stock_code
WHERE a.date>= And a.date<=
|
by: Gurdeep Toor via AccessMonster.com |
last post by:
Hi Folks,
I am building an application in VB.NET... It connects to 2 databases MS SQL
SERVER 2005 and MS ACCESS 2003 .. It works all fine with SQL but It only
reads the record from the ACCESS table which is linked with SAGE ACCOUNTING
SOFTWARE V 11... Now When i Update or add record to the ACCESS linked table
then i got the Error..... INVALID KEYWORD SPECIFICATION... My Code looks like.
...
'...
| |
by: marc.holt |
last post by:
Please help!
I am attempting to extract data from a Sage Line 50 database ( .dta
extention) via an ODBC connection. Included in the application
install of Sage Line 50, is an ODBC driver.
I have successfully managed to extract data from other SQL databases
using ODBC connections with no errors.
The php code I am using is:
|
by: BodiceaOverall |
last post by:
Hello
I am trying to connect to a SAGE database from MS Access 2000 using SAGELINE 100 ODBC Driver. When I use one schema (not created by me) I get the full table names yet in another (not created by me either) I get the shortened ones. There are settings somewhere to remove the flag 'shorten table and field names'...anyone know where? As I am now at a complete loss. I have tried the ODBC connections via Settings in Windows XP but can't...
|
by: franc sutherland |
last post by:
Hi,
I am trying to build a database in Access 2003 which can connect to
information in a SAGE system. Should I use ODBC, and if so, which
driver is required? Is there another way of connecting? Which is
best?
Thanks,
Franc.
|
by: Beany |
last post by:
I am creating a application vb.net and i want to pass/select information from this application into sage line50 v11.
First of all i need to know what back end database that sage uses and is it possible for me to connect straight into the back end.
I know that odbc allows me to read information from sage and also there is a sage data objects out there that allows you to do everything but it is to expensive
Is there any way i can by...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |