Questions inserting records with object pointers.

chuck hinkle chuckbo at hinkles.us
Mon Nov 3 16:52:46 CST 2003


> D_Ecurs.setblank
> D_Ecurs.field("EPtr").setstring(Ecurs.field("recid").getstring)
> D_Ecurs.field("DPtr").setstring(Dcurs.field("recid").getstring)
> if not D_Ecurs.add then
> if Db.errNumber <> 344 then
> // error sequence here
> end if
> end if


Thanks, Fred, I'll use that code.

That leaves me with another question. Why can I assign a pointer (a vULLONG)
to a string (with GetString) and not have to convert it to a Double along
the way?

chuck



More information about the Valentina mailing list