In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Datasource cConnect property since v1.1

Xailer English public forum
Responder
aross
Mensajes: 24
Registrado: Vie Jul 28, 2006 1:38 am

Datasource cConnect property since v1.1

Mensaje por aross »

I am still having problems with connection strings even with 1.1a.
\000.000.00.000:9000sharedmyfolderdatamydict.add
is transformed to
00.000.00.000:9000sharedmyfolderdatamydict.add
and the connection fails on project reopens. I have to manually add back the
two slashes.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9259
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Datasource cConnect property since v1.1

Mensaje por ignacio »

Andrew,
I have just tested using TAdoDataSource:cConnect property seting its value
to:
\000.000.00.000:9000sharedmyfolderdatamydict.add
I trapped the OnCreate event with this code:
METHOD DataSourceCreate( oSender ) CLASS TForm1
logdebug( oSender:cConnect )
RETURN Nil
An the value obtained is:
00.000.00.000:9000sharedmyfolderdatamydict.add
Which I think is correct.
Could you send us a small sample showing the error.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Andrew W. Ross" <aross@ssctv.net> escribió en el mensaje
news:[email=453f9dde@news.xailer.com...]453f9dde@news.xailer.com...[/email]
>I am still having problems with connection strings even with 1.1a.
>
> \000.000.00.000:9000sharedmyfolderdatamydict.add
>
> is transformed to
>
> 00.000.00.000:9000sharedmyfolderdatamydict.add
>
> and the connection fails on project reopens. I have to manually add back
> the two slashes.
>
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
aross
Mensajes: 24
Registrado: Vie Jul 28, 2006 1:38 am

Datasource cConnect property since v1.1

Mensaje por aross »

Ignacio,
<< Could you send us a small sample showing the error. >>
I cannot send you a sample because it's purely in the IDE cConnect property
where I am having problems. Type in the four back slashes, save the project,
exit and reopen. It modifies it to two back slashes and the connection is
lost.
Prior to 1.1 using a ADS data source (Internet only), I used
00.000.00.000:9000sharedmyfolderdatamydict.add in the Datasource
cConnect property *in the IDE* and it worked fine. When I installed 1.1, it
modified my connection property like this
00.000.00.000:9000sharedmyfolderdatamydict.add, which will not
connect. I have to change it to
\000.000.00.000:9000sharedmyfolderdatamydict.add to successfully.
connect. My problem is that won't save.
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:453fa1d7$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Andrew,
>
> I have just tested using TAdoDataSource:cConnect property seting its value
> to:
>
> \000.000.00.000:9000sharedmyfolderdatamydict.add
>
> I trapped the OnCreate event with this code:
>
> METHOD DataSourceCreate( oSender ) CLASS TForm1
>
> logdebug( oSender:cConnect )
>
> RETURN Nil
>
> An the value obtained is:
>
> 00.000.00.000:9000sharedmyfolderdatamydict.add
>
> Which I think is correct.
>
> Could you send us a small sample showing the error.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
> "Andrew W. Ross" <aross@ssctv.net> escribió en el mensaje
> news:[email=453f9dde@news.xailer.com...]453f9dde@news.xailer.com...[/email]
>>I am still having problems with connection strings even with 1.1a.
>>
>> \000.000.00.000:9000sharedmyfolderdatamydict.add
>>
>> is transformed to
>>
>> 00.000.00.000:9000sharedmyfolderdatamydict.add
>>
>> and the connection fails on project reopens. I have to manually add back
>> the two slashes.
>>
>>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9259
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Datasource cConnect property since v1.1

Mensaje por ignacio »

Andrew,
We have cancel the use of extended strings for cConnect property on DBF
DataSources. Now is only present on ADODataSource. That should avoid your
problem.
BTW, I believe it was not a bug, its the correct behaviour of Xharbour
extended strings, that's all.
Extended Literal Strings:
-------------------------
xHarbour introduces a new kind of literal strings known as "Extended Literal
Strings".
Syntax:
-------
E"..."
The literal string may contain Escape Codes following the C language
conventions, like:
n -> New Line character.
t -> Tab character.
r -> CR character.
" -> literal <"> character.
' -> literal <'> character.
-> literal <> character.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Andrew W. Ross" <aross@ssctv.net> escribió en el mensaje
news:[email=45404e3f@news.xailer.com...]45404e3f@news.xailer.com...[/email]
> Ignacio,
>
> << Could you send us a small sample showing the error. >>
>
> I cannot send you a sample because it's purely in the IDE cConnect
> property where I am having problems. Type in the four back slashes, save
> the project, exit and reopen. It modifies it to two back slashes and the
> connection is lost.
>
> Prior to 1.1 using a ADS data source (Internet only), I used
> 00.000.00.000:9000sharedmyfolderdatamydict.add in the Datasource
> cConnect property *in the IDE* and it worked fine. When I installed 1.1,
> it modified my connection property like this
> 00.000.00.000:9000sharedmyfolderdatamydict.add, which will not
> connect. I have to change it to
> \000.000.00.000:9000sharedmyfolderdatamydict.add to
> successfully. connect. My problem is that won't save.
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:453fa1d7$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>
>> Andrew,
>>
>> I have just tested using TAdoDataSource:cConnect property seting its
>> value to:
>>
>> \000.000.00.000:9000sharedmyfolderdatamydict.add
>>
>> I trapped the OnCreate event with this code:
>>
>> METHOD DataSourceCreate( oSender ) CLASS TForm1
>>
>> logdebug( oSender:cConnect )
>>
>> RETURN Nil
>>
>> An the value obtained is:
>>
>> 00.000.00.000:9000sharedmyfolderdatamydict.add
>>
>> Which I think is correct.
>>
>> Could you send us a small sample showing the error.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>> "Andrew W. Ross" <aross@ssctv.net> escribió en el mensaje
>> news:[email=453f9dde@news.xailer.com...]453f9dde@news.xailer.com...[/email]
>>>I am still having problems with connection strings even with 1.1a.
>>>
>>> \000.000.00.000:9000sharedmyfolderdatamydict.add
>>>
>>> is transformed to
>>>
>>> 00.000.00.000:9000sharedmyfolderdatamydict.add
>>>
>>> and the connection fails on project reopens. I have to manually add back
>>> the two slashes.
>>>
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Capsol Coder
Mensajes: 53
Registrado: Vie May 26, 2006 3:33 am

Datasource cConnect property since v1.1

Mensaje por Capsol Coder »

Context help only works the first time you use it, then it comes up with
"Action cancelled", and all the manual then says "Page can not be displayed"
You have to close help after each use.
Regards,
Leigh.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9259
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Datasource cConnect property since v1.1

Mensaje por ignacio »

Capsol,
It seems you are using a bad version of CHM Help viewer. Try to upgrade to
the latest version. Here it is working nicely. Some other people had also
problems with old versions of CHM help viewer.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=455a6c98@news.xailer.com...]455a6c98@news.xailer.com...[/email]
> Context help only works the first time you use it, then it comes up with
> "Action cancelled", and all the manual then says "Page can not be
> displayed"
> You have to close help after each use.
>
> Regards,
> Leigh.
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder