thank you bob for your previous help i made the nesscarry changes in my code but still couldnt fix the problem
aptr=MemHandleLock(newrecord); length += StrLen(a.Name); DmWrite(aptr,0 ,&a.Name,length);// getting error here length += 1; DmWrite(aptr,length,"\0",1); length += 1; DmWrite(aptr,length ,a.notes,StrLen(a.notes)); MemHandleUnlock(newrecord); -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
