Hosted Report with ODBC Datasource

Daniel Fritzsche d.fritzsche at varcess.com
Tue May 27 04:39:39 CDT 2014


Hi,

I have tried a little more and I found the correct Database-String:

„odbc://dsn='d3p' user='username‘ password='password‘“

Everything works fine…

Best regards
Daniel Fritzsche


Am 27.05.2014 um 10:35 schrieb Daniel Fritzsche <d.fritzsche at varcess.com>:

> Hi,
> 
> I am using a valentina embedded server with a report (named „Dokument“) which makes use of an odbc-datasource (d3p). The project is hosted on the valentina Server. When I am trying to create the report in xojo I always get a NILObjectException. When I use a report with a valentina-db datasource (universal_report example) everything works fine. Because I haven’t found a datasource string for odbc-databases I tried a little bit but without success. 
> 
> How do I have to set the database string to work with odbc databases?
> 
> Report = „Dokument"
> Database = "odbc://dsn=d3p“
> Statement = „SELECT * FROM TABLE5"
> 
> mReport = mProject.MakeNewReport(  Report, Database, Statement )
> 
> Best regards
> Daniel
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20140527/9256fdf3/attachment.sig>


More information about the Valentina mailing list