Can I open a table after AdsConnect60 with tDBFDataSet and TAdsDataSource?
Maarten
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.
Opening table(s) after AdsConnect60
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Opening table(s) after AdsConnect60
Maarten,
You should use TAdsDataDource to make the connection.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4ca9d4b3$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Can I open a table after AdsConnect60 with tDBFDataSet and
> TAdsDataSource?
>
> Maarten
You should use TAdsDataDource to make the connection.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4ca9d4b3$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Can I open a table after AdsConnect60 with tDBFDataSet and
> TAdsDataSource?
>
> Maarten
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: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Opening table(s) after AdsConnect60
Yes, I thought so... see my other post "AdsConnect60 works, but now...", but cannot get it to work?
I will try again 2night, as I am now for sure that I can use TAdsDataSource.
I will try again 2night, as I am now for sure that I can use TAdsDataSource.
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Opening table(s) after AdsConnect60
Maarten Roos escribió el lun, 04 octubre 2010 17:27Yes, I thought so... see my other post "AdsConnect60 works, but now...", but cannot get it to work?
I will try again 2night, as I am now for sure that I can use TAdsDataSource.
Maarten,
I hope you find the way. If you make it work with direct access (AdsConnect6()), it should be a easier to make it work with TADSDatasource.
I can not give you a simple clue, since there are multiple ways to connect to ADSDataSource: local, server with mapped drives, server via IP, with dictionary, etcetera.
Please review the docs in any case.
Regards,
I will try again 2night, as I am now for sure that I can use TAdsDataSource.
Maarten,
I hope you find the way. If you make it work with direct access (AdsConnect6()), it should be a easier to make it work with TADSDatasource.
I can not give you a simple clue, since there are multiple ways to connect to ADSDataSource: local, server with mapped drives, server via IP, with dictionary, etcetera.
Please review the docs in any case.
Regards,
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: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Opening table(s) after AdsConnect60
Finally got it to work...
It seems that I cannot work with two (2) data dictionaries at the same time? One AdsDataSource referring to a dictionary and a other AdsDataSource referring to an other dictionary?
I also hoped that it would be faster...
Are there some fine tune tips or things I have to look after using AIS?
It seems that I cannot work with two (2) data dictionaries at the same time? One AdsDataSource referring to a dictionary and a other AdsDataSource referring to an other dictionary?
I also hoped that it would be faster...
Are there some fine tune tips or things I have to look after using AIS?
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Opening table(s) after AdsConnect60
Maarten,
Maybe is a limitation on xHarbour implementation of ADS since they use a
unique hConnect for all the application. BTW, as you can see in
TADSDatasource every instance of it does not share any data among them., so
its not the guilty of this problem.
I suggest you ask in xHarbour newsgroup.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4cac468a$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Finally got it to work...
>
> It seems that I cannot work with two (2) data dictionaries
> at the same time? One AdsDataSource referring to a
> dictionary and a other AdsDataSource referring to an other
> dictionary?
>
> I also hoped that it would be faster...
> Are there some fine tune tips or things I have to look after
> using AIS?
>
>
Maybe is a limitation on xHarbour implementation of ADS since they use a
unique hConnect for all the application. BTW, as you can see in
TADSDatasource every instance of it does not share any data among them., so
its not the guilty of this problem.
I suggest you ask in xHarbour newsgroup.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4cac468a$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Finally got it to work...
>
> It seems that I cannot work with two (2) data dictionaries
> at the same time? One AdsDataSource referring to a
> dictionary and a other AdsDataSource referring to an other
> dictionary?
>
> I also hoped that it would be faster...
> Are there some fine tune tips or things I have to look after
> using AIS?
>
>
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