|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is there anyway i can interface with a MYOB datafile, using php?
__________________
regards, Fulton |
|
#2
|
||||
|
||||
|
Yes - it is possible. I looked into this a while ago. You need to purchase the MYOB Developer pack, which gives you the ODBC driver which allows you to query the data files like a database. (You might be able to get the ODBC driver from the more expensive business packs too... can't remember)... bottomline is YES!
|
|
#3
|
|||
|
|||
|
Hi, i have the MYOB ODBC Direct driver installed, it came with version 12 of MYOB. But i only have limited access until i register the the odbc drivers.
Do you know what tables can be accessed for testing with the unregisterd version of MYOB ODBC? I have been using the following code. It should work shouldn't it? PHP Code:
|
|
#4
|
||||
|
||||
|
I've got no idea. We didn't end up going for it. I'd say the DeveloperPack would have all the doco you'd ever need tho... it'd want to for AUS$900!
|
|
#5
|
|||
|
|||
|
Got it working, i had to change a few permissions on the MYOB data file and now i can access the data via DSN, thank god!
|
|
#6
|
|||
|
|||
|
is it possable to leave some hints on how you achieved this?
|
|
#7
|
|||
|
|||
|
i changed the permissions on the clrwtr.dat file so the IUSR_ had full rights
then i created i DSN to the clrwtr.dat using the MYOB DSN software that comes with MYOB version 12 Put the following in a file and it should work: PHP Code:
|
|
#8
|
|||
|
|||
|
Anybody know what to use to connect to the Canadian version of Myob accounting plus? anything i download from the Myob site only works on US files.
|
|
#9
|
|||
|
|||
|
Quote:
Not sure if this will work with "accounting plus". I use open office to open up and modify data in MYOB Retail Manager, i just set up odbc to the file and then use the data-sources section in OO.o to make an odbc connection then i can play around til my heart is content Cheers Jimmy |
|
#10
|
|||
|
|||
|
Quote:
sorry, i didnt pay attention to which forum we were in. This is what i worked out in the end (for some stupid reason i never thought to go to myob's site and see if they had any tools) I just used the 'com' side of Microsofts ADODB (not to be confused with the far superior ADODB for php ) PHP Code:
|
|
#11
|
|||
|
|||
|
It's my understanding that the MYOB ODBCDirect driver will not allow you to save back into MYOB. Read-only access is not going to be sufficient for us, we need read/write. Will the above solution work (safely) to write back into the MYOB datafile, so that the inventory (for example) can be updated in real time? Thanks for your help!
Zal |
|
#12
|
|||
|
|||
|
I tried the code to link PHP with the MYOB direct driver and it worked. Thanks...
However, the connection is very slow. When I try to access more than a few items, it takes so long that the page times out. Has anyone else faced the same problem? Is there anything that can be done to improve the access speed? |
|
#13
|
|||
|
|||
|
MYOB Canadian ODBC Driver
Do you have the ODBC driver for MYOB Canadian version 5.5.6 working?
Can more just name and address fields, such as invoice detail, be extracted? Thanks Warren Quote:
|
|
#14
|
|||
|
|||
|
other ways to access the myob database
are there ways to access the data file other than php? i'm not familiar with the language. thanks
|
|
#15
|
|||
|
|||
|
DSN not working!
Hi Guys
I noticed your forum, and it relates directly to a project I'm doing. I'm using MYOB Accounting Plus v18, but when trying to create a DSN it says 'The library files "stmyob32.dll" and "MYOBSp32.dll" are missing for version 12.4. Please make sure you have the latest ODBC driver etc. Has anyone come across this? All I want to do is read/write to the datafile, whether someone is logged into it or not, and change data via a web front end. It has to run on Windows. Any help will be appreciated. |
|
#16
|
|||
|
|||
|
Hi - PHP with MYOB
Quote:
Hi, i've been searching for 2 days and trying different code. Are you able to post me the code you used to connect to your myob. Thanks |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > interfacing with MYOB data file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|