Paulo,
That's right. Once the configuration is made through the ODBC dialog, all
its information is saved on the cConnect property and that dialog should not
be seen by the end user at all. But obviously you must create the DSN
manually on every PC that runs your application.
Maybe the cConnect property made by the dialog is not enough to avoid the
dialog display because you did not fill a necessary parameter, like a
checkbox to save the password for example.
BTW, try to open that database with any desktop application like Microsoft
Office, just to be sure the problem is not on the database itself.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Paulo Jorge M. Félix" <
pjmfelix@sisbit.pt> escribió en el mensaje
news:[email=
4607a239@news.xailer.com...]
4607a239@news.xailer.com...[/email]
> Ignacio,
>
> I already make this, but every time that i run, the application, the
> dialog for select the DSN apears.
>
> That ide DSN dialog shouldn´t pop up every time.
>
> Regards
>
>
> "Ignacio Ortiz de Zúñiga" <
NoName@xailer.com> escreveu na mensagem
> news:46042220$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
>> Paulo,
>>
>> Probabily de cConnect is incorrect. Leave that property blank and just
>> put the property lConnected to .T.. That way the IDE will show you the
>> ODBC dialog wizard.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>>
http://www.xailer.com
>>
>>
>> "Paulo Jorge M. Félix" <
pjmfelix@sisbit.pt> escribió en el mensaje
>> news:4603f217$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
>>>I all,
>>>
>>> Why this error apears, when i put in cConnect and in cDSN, the
>>> respectiv strings, and i change the lConnected to .T.
>>>
>>> All this is make in the IDE.
>>>
>>> TDATASOURCE:NEWERROR(174)
>>> Erro XAILER/-1 SQLDriverConnect error: [None]
>>> Argumentos: ()
>>>
>>>
>>> Regards.
>>>
>>
>>
>
>