Assign a 0D in VB with CFRONT OCX

kujukuju Member, Microsoft Employee Posts: 62
edited 2011-09-22 in Navision Financials
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,<EmptyField>) -> Error

I even corrupted a database with this statement (Error 19 in module 1265)

Kurt Juvyns
Navi Freak
Dynamics Rules!

Comments

  • ScottJonesScottJones Member Posts: 44
    Extreemly old code has come back to haunt me, did you find a work around for this?
Sign In or Register to comment.