[fdo-users] FDO SHP + dotNet help : managing the decimal separator

ytse bill_gfr at yahoo.fr
Fri Nov 16 04:26:43 EST 2007

Dan Stoica wrote:
> I'll send you a ShapeDBF.cpp file containing an easy change and I'll let
> you testing.
> Your primary problem is on Select, right?
Actually no, my primary problem is on writing (insert/update) as I have to
enable dynamic file generation and download in my application, and the
specifications mention that the decimal separator has to be a dot.

Dan Stoica wrote:
> Note: I think your solution to set the locale on the connection has a
> flaw, that is we may end up with DBF containing both styles of decimal
> formats.
What makes you think so ? If I set the locale in the RowData constructor it
should be used for every acces to a DBF row, shouldn't it ? There's indeed a
flaw I can think of, but it's related to the LDID : someone setting the DBF
to use another LDID will eventually get a DBF with dots.

I'll try and test you code asap (but I have to download the last FDO sources
first ;)

Thank you Dan

View this message in context: http://www.nabble.com/FDO-SHP-%2B-dotNet-help-%3A-managing-the-decimal-separator-tf4766129s18162.html#a13789787
Sent from the fdo-users mailing list archive at Nabble.com.

More information about the fdo-users mailing list