Every time that will save my data in the record and some of the fields of
the form are without text this message it is exhibited for me:

DBteste (1.0) called SysFatal with the message "StringMgr.c, Line:67, NULL
string Passed"

My code piece:

 if (!(recH=DmNewRecord(dbCl,&index,sizeof(Cliente))))
     {
      FrmCustomAlert(ErrorAlertAlert,"Impossivel criar Registro","","");
      return;
     }


     recP=MemHandleLock(recH);

     // Grava os Campos

     StrCopy(dbCliente.codigo,GetFieldText(CadastroCodigoField));
     StrCopy(dbCliente.nome, GetFieldText(CadastroNomeField));
     StrCopy(dbCliente.end, GetFieldText(CadastroEndField));
     StrCopy(dbCliente.tel, GetFieldText(CadastroTelField));

     DmWrite(recP, 0, &dbCliente, sizeof(Cliente));

     // Libera a mem�ria e o registro
     MemHandleUnlock(recH);

     DmReleaseRecord(dbCl,index,true);

What can make for that to end???



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to