Página 1 de 1

TMemDataSet .... onPostAppend() error

Publicado: Vie May 22, 2009 2:32 pm
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)Â

TMemDataSet .... onPostAppend() error

Publicado: Lun May 25, 2009 9:58 am
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
>
>
>
>

TMemDataSet .... onPostAppend() error

Publicado: Lun May 25, 2009 9:58 am
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
>
>
>
>

TMemDataSet .... onPostAppend() error

Publicado: Mar May 26, 2009 2:52 pm
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
>>
>>
>>
>>
>
>

TMemDataSet .... onPostAppend() error

Publicado: Mar May 26, 2009 2:52 pm
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
>>
>>
>>
>>
>
>