Anyone tryed to assign an 0D in Visual Basic with the CFRONT OCX to a date field that is already filled with a value? i did try these statements : Cfront.assignfield(hTable,hRec,Fieldno,"") → Error Cfront.assignfield(hTable,hRec,Fieldno,“0D”) → Error Cfront.assignfield(hTable,hRec,Fieldno,“00/00/0000”) → Error Cfront.assignfield(hTable,hRec,Fieldno,) → Error I even corrupted a database with this statement (Error 19 in module 1265) Kurt Juvyns Navi Freak
Came around the same problem, Until now i havn’t found a way to resolve it other then creating a new record copying all the other fields (Except the date or time you want to empty) into this record and delete the old record. very clumsy. If anyone has a better soluttion i would love to hear about it)
CF using DWORD (check cf.h): typedef DBL_U32 DBL_DATE; You must use something like: Cfront.assignfield(hTable,hRec,Fieldno,0) sorry I’m rookie in VB.