My bad. I'm using DmRemoveRecord not DmDeleteRecord. Sorry for the
confusion.
Daniel Carlan ( InfoData Bacau ) wrote:
> Hi,
>
> I've experienced the same problem in the past and the only solution that
> I've come up with was to use DmRemoveRecord instead of DmDeleteRecord.
> Try this and see if it still crashes. That's if u don't need the record
> for further usage.
>
> while( DmNumRecords(gDBSMTH) != 0 )
> {
> error = DmRemoveRecord ( gDBSMTH, 0 );
> }
>
> Regards,
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/