Hi,
I am having a little problem with TAdsDataSource and getting :cConnect to
point to my data folder when I create a tAdsDataSouce in CODE.
To test how it should work I made a simple project in the IDE with a
TAdsDataSource and a TDbfDataSet and looked in the form XFM file to see how
the properties are set up.
I was suprised to see the cConnect string.
:cConnect := e".data" <---- I just used .data in the
property editor
Please see the attached 2 images.
The test project does seem to work and allows me to open the dataset.
Is the cConnect string normal?
Regards
Chris Gillard
Attached files
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.
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.
TAdsDataSource - strange cconnect in xfm file?
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TAdsDataSource - strange cconnect in xfm file?
Chris Gillard escribió el mié, 11 enero 2012 10:32I was suprised to see the cConnect string.
:cConnect := e".data" <---- I just used .data
From xHarbour docs:
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.
:cConnect := e".data" <---- I just used .data
From xHarbour docs:
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.
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TAdsDataSource - strange cconnect in xfm file?
Hi Ignacio,
Thanks for the reply.
Hmmm .... "Extended Literal Strings" ..... something new to learn!
I see StringToLiteral in my xHarbour docs but not much else at the moment
.... but I will keep looking.
I will ignore what I saw in the xfm for now.
Thanks
Chris
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> wrote in
message news:4f0d6b30$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris Gillard escribió el mié, 11 enero 2012 10:32
>> I was suprised to see the cConnect string.
>>
>> :cConnect := e".data" <---- I just
>> used .data
>
>
> From xHarbour docs:
>
> 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.
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
Thanks for the reply.
Hmmm .... "Extended Literal Strings" ..... something new to learn!
I see StringToLiteral in my xHarbour docs but not much else at the moment
.... but I will keep looking.
I will ignore what I saw in the xfm for now.
Thanks
Chris
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> wrote in
message news:4f0d6b30$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris Gillard escribió el mié, 11 enero 2012 10:32
>> I was suprised to see the cConnect string.
>>
>> :cConnect := e".data" <---- I just
>> used .data
>
>
> From xHarbour docs:
>
> 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.
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info