DirectPathLoader and float values

Hi Marco,

I'm having problems inserting float data via Directpathloader.
I tried like:
Loader.Columns[0].SetData(Row,FloatValue,0);
but all values end up being 0 (Zero) in the Database.
Could you please give me an example how to get this to work?

Thanks in advance
Horst
 
Note that you need to pass the address of a double precision floating point value, not the value itself. Furthermore the value at the given address must remain valid until you call the "Load" procedure.

See the DirectPath demo for a complete example. It does not have a column of a Double data type, but the method remains exactly the same.
 
Back
Top