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.

TMemDataSet .... onPostAppend() error

Xailer professional forum in English
Responder
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

TMemDataSet .... onPostAppend() error

Mensaje por ChrisGillard »

I am trying TMemDataSet for the first time using it with a dbBrowse and a
Navigator.
It all appears to be ok. I can browse, add, edit, delete records.
I also have buttons to zap & add a record in code ... all work OK.
When I add a logdisplay( "onPostAppend()" ) to the MemDataSet onPostAppend
event ... I get an error in MemDataSet onUpdate event.
I think there is a bug in the MemDataSet source in the onUpdate Event being
called from the oPostAppendEvent.
Please see source, error & screen shot in attached zip.
Regards
Chris Gillard


Attached files memdataset.zip (28.8 KB)Â
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TMemDataSet .... onPostAppend() error

Mensaje por ignacio »

Chris,
OnPosAppend only works with TDBFdatasets. That problem is already fixed on
Xailer 2. You should use on AddNew event.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=4a169b69@svctag-j7w3v3j....]4a169b69@svctag-j7w3v3j....[/email]
>I am trying TMemDataSet for the first time using it with a dbBrowse and a
>Navigator.
>
> It all appears to be ok. I can browse, add, edit, delete records.
>
> I also have buttons to zap & add a record in code ... all work OK.
>
> When I add a logdisplay( "onPostAppend()" ) to the MemDataSet onPostAppend
> event ... I get an error in MemDataSet onUpdate event.
>
> I think there is a bug in the MemDataSet source in the onUpdate Event
> being called from the oPostAppendEvent.
>
> Please see source, error & screen shot in attached zip.
>
> Regards
>
> Chris Gillard
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TMemDataSet .... onPostAppend() error

Mensaje por ignacio »

Chris,
OnPosAppend only works with TDBFdatasets. That problem is already fixed on
Xailer 2. You should use on AddNew event.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=4a169b69@svctag-j7w3v3j....]4a169b69@svctag-j7w3v3j....[/email]
>I am trying TMemDataSet for the first time using it with a dbBrowse and a
>Navigator.
>
> It all appears to be ok. I can browse, add, edit, delete records.
>
> I also have buttons to zap & add a record in code ... all work OK.
>
> When I add a logdisplay( "onPostAppend()" ) to the MemDataSet onPostAppend
> event ... I get an error in MemDataSet onUpdate event.
>
> I think there is a bug in the MemDataSet source in the onUpdate Event
> being called from the oPostAppendEvent.
>
> Please see source, error & screen shot in attached zip.
>
> Regards
>
> Chris Gillard
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

TMemDataSet .... onPostAppend() error

Mensaje por ChrisGillard »

Ignacio,
Thank you for the reply.
I will try the AddNew event as you suggest.
Regards
Chris
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:[email=4a1a4f86@svctag-j7w3v3j....]4a1a4f86@svctag-j7w3v3j....[/email]
> Chris,
>
> OnPosAppend only works with TDBFdatasets. That problem is already fixed on
> Xailer 2. You should use on AddNew event.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:[email=4a169b69@svctag-j7w3v3j....]4a169b69@svctag-j7w3v3j....[/email]
>>I am trying TMemDataSet for the first time using it with a dbBrowse and a
>>Navigator.
>>
>> It all appears to be ok. I can browse, add, edit, delete records.
>>
>> I also have buttons to zap & add a record in code ... all work OK.
>>
>> When I add a logdisplay( "onPostAppend()" ) to the MemDataSet
>> onPostAppend event ... I get an error in MemDataSet onUpdate event.
>>
>> I think there is a bug in the MemDataSet source in the onUpdate Event
>> being called from the oPostAppendEvent.
>>
>> Please see source, error & screen shot in attached zip.
>>
>> Regards
>>
>> Chris Gillard
>>
>>
>>
>>
>
>
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

TMemDataSet .... onPostAppend() error

Mensaje por ChrisGillard »

Ignacio,
Thank you for the reply.
I will try the AddNew event as you suggest.
Regards
Chris
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:[email=4a1a4f86@svctag-j7w3v3j....]4a1a4f86@svctag-j7w3v3j....[/email]
> Chris,
>
> OnPosAppend only works with TDBFdatasets. That problem is already fixed on
> Xailer 2. You should use on AddNew event.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:[email=4a169b69@svctag-j7w3v3j....]4a169b69@svctag-j7w3v3j....[/email]
>>I am trying TMemDataSet for the first time using it with a dbBrowse and a
>>Navigator.
>>
>> It all appears to be ok. I can browse, add, edit, delete records.
>>
>> I also have buttons to zap & add a record in code ... all work OK.
>>
>> When I add a logdisplay( "onPostAppend()" ) to the MemDataSet
>> onPostAppend event ... I get an error in MemDataSet onUpdate event.
>>
>> I think there is a bug in the MemDataSet source in the onUpdate Event
>> being called from the oPostAppendEvent.
>>
>> Please see source, error & screen shot in attached zip.
>>
>> Regards
>>
>> Chris Gillard
>>
>>
>>
>>
>
>
Responder