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.

Event on append

Xailer English public forum
Responder
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Event on append

Mensaje por Srdjan »

How I can create event on append ?
I want create action only if any append at one table
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Event on append

Mensaje por ignacio »

Srdjan,
I am not sure if I really understand want you want. In case you want to fire
a event when a new record is added to a dataset, the event
TDataset:OnPostAppend is your best choice.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Srdjan Dragojlovic" <digikv@yahoo.com> escribió en el mensaje
news:[email=466e2dc6@ozsrv2.ozlan.local...]466e2dc6@ozsrv2.ozlan.local...[/email]
> How I can create event on append ?
> I want create action only if any append at one table
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Event on append

Mensaje por Srdjan »

Hello Ignacio,
TDataset:OnPostAppend not fire if I append records from another computer.
Best regards
Srdjan
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:[email=466e4997@ozsrv2.ozlan.local...]466e4997@ozsrv2.ozlan.local...[/email]
> Srdjan,
>
> I am not sure if I really understand want you want. In case you want to
> fire a event when a new record is added to a dataset, the event
> TDataset:OnPostAppend is your best choice.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Srdjan Dragojlovic" <digikv@yahoo.com> escribió en el mensaje
> news:[email=466e2dc6@ozsrv2.ozlan.local...]466e2dc6@ozsrv2.ozlan.local...[/email]
>> How I can create event on append ?
>> I want create action only if any append at one table
>>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Event on append

Mensaje por ignacio »

Srdjan,
Obviously the dataset can only control the operation within. The only way to
solve that issue is to use a database system with triggers and referential
integrity support.
Regards,
--
Ignacio Ortiz de Zúñiga
Email: iozuniga@ozs.com
"Srdjan Dragojlovic" <digikv@yahoo.com> escribió en el mensaje
news:46b5c0ac$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hello Ignacio,
> TDataset:OnPostAppend not fire if I append records from another computer.
> Best regards
> Srdjan
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:[email=466e4997@ozsrv2.ozlan.local...]466e4997@ozsrv2.ozlan.local...[/email]
>> Srdjan,
>>
>> I am not sure if I really understand want you want. In case you want to
>> fire a event when a new record is added to a dataset, the event
>> TDataset:OnPostAppend is your best choice.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Srdjan Dragojlovic" <digikv@yahoo.com> escribió en el mensaje
>> news:[email=466e2dc6@ozsrv2.ozlan.local...]466e2dc6@ozsrv2.ozlan.local...[/email]
>>> How I can create event on append ?
>>> I want create action only if any append at one table
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder