Does anyone have experience in linking into Sage Accounts (line50, Sage50 etc) with Servoy? There is an ODBC driver but I have been unable to find a JDBC driver. Mainly interested in reading data from Sage and using the Sage import routines to post data back.
It is part of Java, so no need to install a jar in your drivers folder, just set your DB driver class to sun.jdbc.odbc.JdbcOdbcDriver and your URL to
jdbc:odbc:[;=]*
Not guaranteed to work (depending on what the ODBC driver itself provides), but worth a shot…
Just be aware that this JDBC-ODBC bridge was never implementen on the Mac. So you can do this only on Windows and Linux (when using the Sun/Oracle JVM).
Of course this only affects Servoy Server/Developer. Clients can still run on Mac and use the JDBC-ODBC connection on the server.
If you get this to work Harry/Richard very interested to know your experience. I have a couple clients both of whom want Sage integration and are suggesting very simple import/export right now ODBC would be a lot better.
Thanks for the information. As far as I am aware Sage isn’t available on the MAC and for my part I just need a link from a Windows pc. About to download and try out the JDBC-ODBC and will report back on my findings.
Download ?
It’s baked into the JVM so you can simply use the driver settings Patrick provided and off you go .
Or were you talking about ODBC drivers to download.
I have been able to create an JDBC-ODBC connection, it retrieves all the table names with the correct columns. Servoy however complains because it cannot find the primary key. Pretty sure their is no way round this - but if anyone knows a way…
Have checked with Sage and they don’t have a JDBC driver. They have Sage Data Objects, which is an ActiveX control, which in conjunction with the COM plugin should give access to the data. It also allows you to write data back. I need to check but the for the customer to activate the control it used to be free. Sounds good? Well you need to join the Sage developer program to get access to the documentation for the princely sum of £1,500 per annum for Line 50 (or more depending on the accounts package you want to link into). If you only want to link into Instant Accounts then it is only £99 per annum. The data structures used to be the same for Instant and Line50, we have Instant accounts so if £99 will get us connected through the COM plugin.