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.

passing Objects

Xailer English public forum
Responder
Pedro Sousa e Faro
Mensajes: 91
Registrado: Mié May 30, 2007 5:25 pm

passing Objects

Mensaje por Pedro Sousa e Faro »

Hi
What is the best way to use a component(dataset ) that was declared in
other form.
best regards
pedro
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

passing Objects

Mensaje por ignacio »

Pedro,
Take a look at sample DataControlsDBFData2 (Datacontrols OnCreate event
on TForm2)
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Pedro Sousa e Faro" <psfaro@shi.pt> escribió en el mensaje
news:[email=466daca3@ozsrv2.ozlan.local...]466daca3@ozsrv2.ozlan.local...[/email]
> Hi
>
> What is the best way to use a component(dataset ) that was declared in
> other form.
>
> best regards
> pedro
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Pedro Sousa e Faro
Mensajes: 91
Registrado: Mié May 30, 2007 5:25 pm

passing Objects

Mensaje por Pedro Sousa e Faro »

Hi Inacio
I'm trying to do something with ADO , and the only way i
saw is to declare TSQLTABLE(ado dataset) and ADO (datasource) in all forms .
I try to do in create Form osender:users := ::oparent:users
and return error.
Does oparent doesn't work with ADO ?
Regards
Pedro
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:466e49d0$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Pedro,
>
> Take a look at sample DataControlsDBFData2 (Datacontrols OnCreate event
> on TForm2)
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Pedro Sousa e Faro" <psfaro@shi.pt> escribió en el mensaje
> news:[email=466daca3@ozsrv2.ozlan.local...]466daca3@ozsrv2.ozlan.local...[/email]
>> Hi
>>
>> What is the best way to use a component(dataset ) that was declared in
>> other form.
>>
>> best regards
>> pedro
>>
>>
>
>
Responder