Página 1 de 1

Opening table(s) after AdsConnect60

Publicado: Lun Oct 04, 2010 3:20 pm
por Maarten Roos
Can I open a table after AdsConnect60 with tDBFDataSet and TAdsDataSource?
Maarten

Opening table(s) after AdsConnect60

Publicado: Lun Oct 04, 2010 5:01 pm
por ignacio
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

Opening table(s) after AdsConnect60

Publicado: Lun Oct 04, 2010 5:27 pm
por Maarten Roos
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.

Opening table(s) after AdsConnect60

Publicado: Mar Oct 05, 2010 10:41 am
por ignacio
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,

Opening table(s) after AdsConnect60

Publicado: Mié Oct 06, 2010 11:51 am
por Maarten Roos
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?

Opening table(s) after AdsConnect60

Publicado: Mié Oct 06, 2010 12:45 pm
por ignacio
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?
>
>