comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDLDBDatabase and DIALOG_DBConnect()
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLDBDatabase and DIALOG_DBConnect() [message #52392] Sat, 03 February 2007 03:03
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
Is "objDB->Connect, CONNECTION = strConnectionString" working or not?
You're giving two different signals there, or is it just me :-) ?

If not, try the following:

objDB = OBJ_NEW('IDLdbDatabase')
ODBCstr="MyODBC"
objDB->Connect,datasource=mysqlinfo


; Added this to .odbc.ini (this is for MySQL, change driver etc. for
yours!!!!!):
;
;[ODBC Data Sources]
;...
;MyODBC=MySQL ODBC 3.51 Driver
;.
;.
;.
;[MyODBC]
;Driver = /usr/lib/libmyodbc3.so
;Description = MySQL ODBC 3.51 Driver
;SERVER = servername
;USER = username
;Password = ******
;Database = databasename


On 2 Feb 2007 11:00:09 -0800, "Andre Abrantes"
<andreabrantes@gmail.com> wrote:


> When I try to Connect With Method Connect, works fine.
>
> The follow ConnectionString is correct? In this case, I don't use
> the DSN.
>
> fullDbPath = "/home/user/dbase/test.dbf"
> strConnectionString = "Driver=DataDirect 5.2 dBaseFile(*.dbf);DB=" +
> fullDbPath + ";ULN=1;EC=LOWER;"
> objDB = obj_new('IDLdbDatabase')
> objDB->Connect, CONNECTION = strConnectionString
[Message index]
 
Read Message
Previous Topic: IDLDBDatabase and DIALOG_DBConnect()
Next Topic: Re: using LOCATIONS keyword of IDLgrText?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 16:12:24 PDT 2025

Total time taken to generate the page: 0.24099 seconds