Hi,
I can use dbfs under ADS if I use a AdsDataSource in my project.
In certain 'hand coded' projects I want to use ADS without an ADSDataSource.
From the ADSRDD help page I am trying the following in my Form1:onInitialise event ...
rddregister( "ADS", 1 )
rddsetdefault( ADS" )
I have tried the REQUEST _ADS statement but I am uncertain where to put it,
Also am linking in the libraries ace32.dll & rddads.lib
With xHarbour Builder this is about all I would have to do and it would just work.
What am I missing please ??
Chris
Chris Gillard
Blue Square Software
02380 458737
www.bluesquare.co.uk
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.
ADS in code ... without ADSDataSource
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
- ignacio
- Site Admin
- Mensajes: 9466
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
ADS in code ... without ADSDataSource
Chris,
>>rddregister( "ADS", 1 )
>>rddsetdefault( ADS" )
Those are obsolete, you just nee to put a REQUEST Ads on any of your project
files.
2005-10-26 01:50 UTC-0800 Brian Hays <bhays at abacuslaw.com>
* tests/ads.prg
* tests/datad.prg
* tests/files.prg
* tests/testrdd.prg
* Removed unneeded RddRegister( "ADS", 1 ) and adjusted calls to
RddSetDefault()
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=200751014312.033086@xccube...]200751014312.033086@xccube...[/email]
Hi,
I can use dbfs under ADS if I use a AdsDataSource in my project.
In certain 'hand coded' projects I want to use ADS without an ADSDataSource.
From the ADSRDD help page I am trying the following in my
Form1:onInitialise event ...
rddregister( "ADS", 1 )
rddsetdefault( ADS" )
I have tried the REQUEST _ADS statement but I am uncertain where to put it,
Also am linking in the libraries ace32.dll & rddads.lib
With xHarbour Builder this is about all I would have to do and it would just
work.
What am I missing please ??
Chris
Chris Gillard
Blue Square Software
02380 458737
www.bluesquare.co.uk
>>rddregister( "ADS", 1 )
>>rddsetdefault( ADS" )
Those are obsolete, you just nee to put a REQUEST Ads on any of your project
files.
2005-10-26 01:50 UTC-0800 Brian Hays <bhays at abacuslaw.com>
* tests/ads.prg
* tests/datad.prg
* tests/files.prg
* tests/testrdd.prg
* Removed unneeded RddRegister( "ADS", 1 ) and adjusted calls to
RddSetDefault()
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=200751014312.033086@xccube...]200751014312.033086@xccube...[/email]
Hi,
I can use dbfs under ADS if I use a AdsDataSource in my project.
In certain 'hand coded' projects I want to use ADS without an ADSDataSource.
From the ADSRDD help page I am trying the following in my
Form1:onInitialise event ...
rddregister( "ADS", 1 )
rddsetdefault( ADS" )
I have tried the REQUEST _ADS statement but I am uncertain where to put it,
Also am linking in the libraries ace32.dll & rddads.lib
With xHarbour Builder this is about all I would have to do and it would just
work.
What am I missing please ??
Chris
Chris Gillard
Blue Square Software
02380 458737
www.bluesquare.co.uk
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
ADS in code ... without ADSDataSource
I have made the images smaller ... see it goes this time.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Ignacio,
REQUEST ADS works fine.
Thank you for that.
I have another question about inspecting my own object in the debugger ....
I can see the object in the debugger as Local : oLogDbf <O> DbfX - see screenshot #2
I can see the object in the Inspect variable window with a + but I cant expand it - see screenshot #1
Some objects I can inspect, but not this one.
Why is that ??
If the attached images dont come through, I will send by email.
Thanks for all your help.
Great product.
Chris
Chris Gillard
Blue Square Software
02380 458737
www.bluesquare.co.uk
On Thu, 10 May 2007 15:56:31 +0100, Ignacio Ortiz de Zúñiga wrote:
> Chris,
>
>>> rddregister( "ADS", 1 )
>>> rddsetdefault( ADS" )
>>>
> Those are obsolete, you just nee to put a REQUEST Ads on any of
> your project files.
>
> 2005-10-26 01:50 UTC-0800 Brian Hays *
> tests/ads.prg * tests/datad.prg * tests/files.prg *
> tests/testrdd.prg
> * Removed unneeded RddRegister( "ADS", 1 ) and adjusted calls to
> RddSetDefault()
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" escribió en el mensaje
> news:[email=200751014312.033086@xccube...]200751014312.033086@xccube...[/email] Hi,
>
> I can use dbfs under ADS if I use a AdsDataSource in my project.
>
> In certain 'hand coded' projects I want to use ADS without an
> ADSDataSource.
>
> From the ADSRDD help page I am trying the following in my
> Form1:onInitialise event ...
>
> rddregister( "ADS", 1 )
> rddsetdefault( ADS" )
>
> I have tried the REQUEST _ADS statement but I am uncertain where to
> put it,
>
> Also am linking in the libraries ace32.dll & rddads.lib
>
> With xHarbour Builder this is about all I would have to do and it
> would just work.
>
> What am I missing please ??
>
> Chris
>
> Chris Gillard
> Blue Square Software
> 02380 458737
> www.bluesquare.co.uk
--
Attached files
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Ignacio,
REQUEST ADS works fine.
Thank you for that.
I have another question about inspecting my own object in the debugger ....
I can see the object in the debugger as Local : oLogDbf <O> DbfX - see screenshot #2
I can see the object in the Inspect variable window with a + but I cant expand it - see screenshot #1
Some objects I can inspect, but not this one.
Why is that ??
If the attached images dont come through, I will send by email.
Thanks for all your help.
Great product.
Chris
Chris Gillard
Blue Square Software
02380 458737
www.bluesquare.co.uk
On Thu, 10 May 2007 15:56:31 +0100, Ignacio Ortiz de Zúñiga wrote:
> Chris,
>
>>> rddregister( "ADS", 1 )
>>> rddsetdefault( ADS" )
>>>
> Those are obsolete, you just nee to put a REQUEST Ads on any of
> your project files.
>
> 2005-10-26 01:50 UTC-0800 Brian Hays *
> tests/ads.prg * tests/datad.prg * tests/files.prg *
> tests/testrdd.prg
> * Removed unneeded RddRegister( "ADS", 1 ) and adjusted calls to
> RddSetDefault()
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" escribió en el mensaje
> news:[email=200751014312.033086@xccube...]200751014312.033086@xccube...[/email] Hi,
>
> I can use dbfs under ADS if I use a AdsDataSource in my project.
>
> In certain 'hand coded' projects I want to use ADS without an
> ADSDataSource.
>
> From the ADSRDD help page I am trying the following in my
> Form1:onInitialise event ...
>
> rddregister( "ADS", 1 )
> rddsetdefault( ADS" )
>
> I have tried the REQUEST _ADS statement but I am uncertain where to
> put it,
>
> Also am linking in the libraries ace32.dll & rddads.lib
>
> With xHarbour Builder this is about all I would have to do and it
> would just work.
>
> What am I missing please ??
>
> Chris
>
> Chris Gillard
> Blue Square Software
> 02380 458737
> www.bluesquare.co.uk
--
Attached files
ADS in code ... without ADSDataSource
Chris,
> I have another question about inspecting my own object in the debugger
> ....
>
> I can see the object in the debugger as Local : oLogDbf <O> DbfX - see
> screenshot #2
>
> I can see the object in the Inspect variable window with a + but I cant
> expand it - see screenshot #1
>
> Some objects I can inspect, but not this one.
>
> Why is that ??
Only classes which are derived from TComponent can be inspected. So, if
you've created your own class not derived from any Xailer's one, just derive
it from TComponent.
Also, DATA's can't be inspected; declare them as PROPERTY.
I.e:
CLASS TMyOwnClass FROM TComponent
PROPERTY MyData1
PROPERTY MyData2
...
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I have another question about inspecting my own object in the debugger
> ....
>
> I can see the object in the debugger as Local : oLogDbf <O> DbfX - see
> screenshot #2
>
> I can see the object in the Inspect variable window with a + but I cant
> expand it - see screenshot #1
>
> Some objects I can inspect, but not this one.
>
> Why is that ??
Only classes which are derived from TComponent can be inspected. So, if
you've created your own class not derived from any Xailer's one, just derive
it from TComponent.
Also, DATA's can't be inspected; declare them as PROPERTY.
I.e:
CLASS TMyOwnClass FROM TComponent
PROPERTY MyData1
PROPERTY MyData2
...
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
ADS in code ... without ADSDataSource
Jose,
> Must inherit from TComponent & use PROPERTY
I will have to think about that as I have 20+ classes that are used by my Console mode xHarbour Builder apps .... maybe some #ifdef or .ch & preprocessor work can make the classes work with Xailer & Builder.
Now I know the situation I can think about it.
Thanks for the reply.
Chris
Chris Gillard
Blue Square Software
02380 458737
www.bluesquare.co.uk
On Thu, 10 May 2007 17:26:37 +0100, Jose F. Gimenez wrote:
> Chris,
>
>> I have another question about inspecting my own object in the
>> debugger ....
>>
>> I can see the object in the debugger as Local : oLogDbf DbfX
>> - see screenshot #2
>>
>> I can see the object in the Inspect variable window with a + but
>> I cant expand it - see screenshot #1
>>
>> Some objects I can inspect, but not this one.
>>
>> Why is that ??
>>
> Only classes which are derived from TComponent can be inspected.
> So, if you've created your own class not derived from any Xailer's
> one, just derive it from TComponent.
>
> Also, DATA's can't be inspected; declare them as PROPERTY.
>
> I.e:
> CLASS TMyOwnClass FROM TComponent
> PROPERTY MyData1
> PROPERTY MyData2
> ...
> Must inherit from TComponent & use PROPERTY
I will have to think about that as I have 20+ classes that are used by my Console mode xHarbour Builder apps .... maybe some #ifdef or .ch & preprocessor work can make the classes work with Xailer & Builder.
Now I know the situation I can think about it.
Thanks for the reply.
Chris
Chris Gillard
Blue Square Software
02380 458737
www.bluesquare.co.uk
On Thu, 10 May 2007 17:26:37 +0100, Jose F. Gimenez wrote:
> Chris,
>
>> I have another question about inspecting my own object in the
>> debugger ....
>>
>> I can see the object in the debugger as Local : oLogDbf DbfX
>> - see screenshot #2
>>
>> I can see the object in the Inspect variable window with a + but
>> I cant expand it - see screenshot #1
>>
>> Some objects I can inspect, but not this one.
>>
>> Why is that ??
>>
> Only classes which are derived from TComponent can be inspected.
> So, if you've created your own class not derived from any Xailer's
> one, just derive it from TComponent.
>
> Also, DATA's can't be inspected; declare them as PROPERTY.
>
> I.e:
> CLASS TMyOwnClass FROM TComponent
> PROPERTY MyData1
> PROPERTY MyData2
> ...