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.

tdataset parametros

Foro de Xailer profesional en español
Responder
PILO
Mensajes: 583
Registrado: Vie Jul 06, 2007 5:18 pm

tdataset parametros

Mensaje por PILO »

Alguien me pueda ayudar
Tengo un dataset en un formulario Abierto con parametros
definidos por mi, y quiero pasar estos parametros o utilizar
los parametos y el dataset en un formulario abierto de nuevo
con un scope diferente
Alguien me puede dar ideas
Muchas gracias
zeasoftware
Mensajes: 1831
Registrado: Mar Oct 11, 2005 9:53 am

tdataset parametros

Mensaje por zeasoftware »

Puedes llamar a TForm2, desde TFoem1, asi:
With Object oForm2()New(Self)
//asigno al oDataSet de TForm2, el oDataSet de TForm1
:oDataset := ::oDataSet:Clone()
//En el nuevo oDataSet limpio todo
:oDataset:ClearFilter()
:cCliente := ::oCliente:value
:Showmodal()
End
Espero te sirva.
Saludos
--
Ramón Zea
ramonzea@yahoo.com
zeasoftware@hotmail.com
zeasoft.movil@hotmail.com
http://www.paginasprodigy.com/zeasoft/
"PILO" <srmpilo@hotmail.com> escribió en el mensaje
news:45bf38ff$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Alguien me pueda ayudar
> Tengo un dataset en un formulario Abierto con parametros
> definidos por mi, y quiero pasar estos parametros o utilizar
> los parametos y el dataset en un formulario abierto de nuevo
> con un scope diferente
> Alguien me puede dar ideas
> Muchas gracias
>
>
PILO
Mensajes: 583
Registrado: Vie Jul 06, 2007 5:18 pm

tdataset parametros

Mensaje por PILO »

Ramon me puedes ayudar en la publica en lo que pregunto en "ayuda a
busqueda"
Gracias lo probare
"RamónZea" <zeasoftware@hotmail.com> escribió en el mensaje
news:[email=45bf4e27@news.xailer.com...]45bf4e27@news.xailer.com...[/email]
> Puedes llamar a TForm2, desde TFoem1, asi:
>
> With Object oForm2()New(Self)
> //asigno al oDataSet de TForm2, el oDataSet de TForm1
> :oDataset := ::oDataSet:Clone()
> //En el nuevo oDataSet limpio todo
> :oDataset:ClearFilter()
>
> :cCliente := ::oCliente:value
>
> :Showmodal()
>
> End
>
> Espero te sirva.
>
> Saludos
> --
> Ramón Zea
> ramonzea@yahoo.com
> zeasoftware@hotmail.com
> zeasoft.movil@hotmail.com
> http://www.paginasprodigy.com/zeasoft/
> "PILO" <srmpilo@hotmail.com> escribió en el mensaje
> news:45bf38ff$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Alguien me pueda ayudar
>> Tengo un dataset en un formulario Abierto con parametros
>> definidos por mi, y quiero pasar estos parametros o utilizar
>> los parametos y el dataset en un formulario abierto de nuevo
>> con un scope diferente
>> Alguien me puede dar ideas
>> Muchas gracias
>>
>>
>
>
PILO
Mensajes: 583
Registrado: Vie Jul 06, 2007 5:18 pm

tdataset parametros

Mensaje por PILO »

Ramon, lo que quiero es utilizar el mismo dataset, no otro
como se hace
Gracias
"RamónZea" <zeasoftware@hotmail.com> escribió en el mensaje
news:[email=45bf4e27@news.xailer.com...]45bf4e27@news.xailer.com...[/email]
> Puedes llamar a TForm2, desde TFoem1, asi:
>
> With Object oForm2()New(Self)
> //asigno al oDataSet de TForm2, el oDataSet de TForm1
> :oDataset := ::oDataSet:Clone()
> //En el nuevo oDataSet limpio todo
> :oDataset:ClearFilter()
>
> :cCliente := ::oCliente:value
>
> :Showmodal()
>
> End
>
> Espero te sirva.
>
> Saludos
> --
> Ramón Zea
> ramonzea@yahoo.com
> zeasoftware@hotmail.com
> zeasoft.movil@hotmail.com
> http://www.paginasprodigy.com/zeasoft/
> "PILO" <srmpilo@hotmail.com> escribió en el mensaje
> news:45bf38ff$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Alguien me pueda ayudar
>> Tengo un dataset en un formulario Abierto con parametros
>> definidos por mi, y quiero pasar estos parametros o utilizar
>> los parametos y el dataset en un formulario abierto de nuevo
>> con un scope diferente
>> Alguien me puede dar ideas
>> Muchas gracias
>>
>>
>
>
PILO
Mensajes: 583
Registrado: Vie Jul 06, 2007 5:18 pm

tdataset parametros

Mensaje por PILO »

gracias Ramon
"RamónZea" <zeasoftware@hotmail.com> escribió en el mensaje
news:[email=45bf8f8c@news.xailer.com...]45bf8f8c@news.xailer.com...[/email]
> EN SI CUANDO MANDAS UN PARAMETRO, LO QUE HACE EL LENGUAJE ES CACHARLO EN
> OTRA VARIABLE, PERO SOLO HACEMOS (PAR1, PAR2)
> ESTO ES LO MISMO QUE TE ESTOY MANDANDO, PERO SOLO QUE PARA QUE TU PRIMER
> DATASET NO RESULTE AFECTADO, PERO SI QUIERES QUE SEA AFECTADO SOLO QUITALE
> EL :CLONE().
>
> SALUDOS.
>
> --
> Ramón Zea
> ramonzea@yahoo.com
> zeasoftware@hotmail.com
> zeasoft.movil@hotmail.com
> http://www.paginasprodigy.com/zeasoft/
> "PILO" <srmpilo@hotmail.com> escribió en el mensaje
> news:[email=45bf7496@news.xailer.com...]45bf7496@news.xailer.com...[/email]
>> Ramon, lo que quiero es utilizar el mismo dataset, no otro
>> como se hace
>> Gracias
>>
>> "RamónZea" <zeasoftware@hotmail.com> escribió en el mensaje
>> news:[email=45bf4e27@news.xailer.com...]45bf4e27@news.xailer.com...[/email]
>>> Puedes llamar a TForm2, desde TFoem1, asi:
>>>
>>> With Object oForm2()New(Self)
>>> //asigno al oDataSet de TForm2, el oDataSet de TForm1
>>> :oDataset := ::oDataSet:Clone()
>>> //En el nuevo oDataSet limpio todo
>>> :oDataset:ClearFilter()
>>>
>>> :cCliente := ::oCliente:value
>>>
>>> :Showmodal()
>>>
>>> End
>>>
>>> Espero te sirva.
>>>
>>> Saludos
>>> --
>>> Ramón Zea
>>> ramonzea@yahoo.com
>>> zeasoftware@hotmail.com
>>> zeasoft.movil@hotmail.com
>>> http://www.paginasprodigy.com/zeasoft/
>>> "PILO" <srmpilo@hotmail.com> escribió en el mensaje
>>> news:45bf38ff$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>>> Alguien me pueda ayudar
>>>> Tengo un dataset en un formulario Abierto con parametros
>>>> definidos por mi, y quiero pasar estos parametros o utilizar
>>>> los parametos y el dataset en un formulario abierto de nuevo
>>>> con un scope diferente
>>>> Alguien me puede dar ideas
>>>> Muchas gracias
>>>>
>>>>
>>>
>>>
>>
>>
>
>
zeasoftware
Mensajes: 1831
Registrado: Mar Oct 11, 2005 9:53 am

tdataset parametros

Mensaje por zeasoftware »

EN SI CUANDO MANDAS UN PARAMETRO, LO QUE HACE EL LENGUAJE ES CACHARLO EN
OTRA VARIABLE, PERO SOLO HACEMOS (PAR1, PAR2)
ESTO ES LO MISMO QUE TE ESTOY MANDANDO, PERO SOLO QUE PARA QUE TU PRIMER
DATASET NO RESULTE AFECTADO, PERO SI QUIERES QUE SEA AFECTADO SOLO QUITALE
EL :CLONE().
SALUDOS.
--
Ramón Zea
ramonzea@yahoo.com
zeasoftware@hotmail.com
zeasoft.movil@hotmail.com
http://www.paginasprodigy.com/zeasoft/
"PILO" <srmpilo@hotmail.com> escribió en el mensaje
news:[email=45bf7496@news.xailer.com...]45bf7496@news.xailer.com...[/email]
> Ramon, lo que quiero es utilizar el mismo dataset, no otro
> como se hace
> Gracias
>
> "RamónZea" <zeasoftware@hotmail.com> escribió en el mensaje
> news:[email=45bf4e27@news.xailer.com...]45bf4e27@news.xailer.com...[/email]
>> Puedes llamar a TForm2, desde TFoem1, asi:
>>
>> With Object oForm2()New(Self)
>> //asigno al oDataSet de TForm2, el oDataSet de TForm1
>> :oDataset := ::oDataSet:Clone()
>> //En el nuevo oDataSet limpio todo
>> :oDataset:ClearFilter()
>>
>> :cCliente := ::oCliente:value
>>
>> :Showmodal()
>>
>> End
>>
>> Espero te sirva.
>>
>> Saludos
>> --
>> Ramón Zea
>> ramonzea@yahoo.com
>> zeasoftware@hotmail.com
>> zeasoft.movil@hotmail.com
>> http://www.paginasprodigy.com/zeasoft/
>> "PILO" <srmpilo@hotmail.com> escribió en el mensaje
>> news:45bf38ff$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>> Alguien me pueda ayudar
>>> Tengo un dataset en un formulario Abierto con parametros
>>> definidos por mi, y quiero pasar estos parametros o utilizar
>>> los parametos y el dataset en un formulario abierto de nuevo
>>> con un scope diferente
>>> Alguien me puede dar ideas
>>> Muchas gracias
>>>
>>>
>>
>>
>
>
Responder