Hi all!
I want to get a record for a database, modify its contents, possibly size
and the return it back to the database with the same index as before. For
some reason, it didn't work. Here's a snippet that displays it:
Handle h, ho;
UInt i;
Err err;
i = USER_RECORD_START;
ho=NULL;
err = DmDetachRecord(UserDB, i, &h); // err = 0
here
err = DmAttachRecord(UserDB, &i, h, &ho); // Crash!!!
What is wrong?
Thanks,
Bobby Kolev
Software Engineer,
email: [EMAIL PROTECTED]
work: (212) 462 49000 ext.216, voice #257
----------------------------------------------------------------------
I never say never