Re: thousands separator in numeric fields via ODBC by Fred
Fred
Sat Feb 07 15:34:03 CST 2004
I'm sorry, I've tried that with everything I can image. That version of the
driver sure seems to return the correct field types and sizes for me. Have
you tried it using a SQLSTRINGCONNECT() instead of a DSN?
Fred
Microsoft Visual FoxPro MVP
"Andrew Howell" <ajh@work> wrote in message
news:uYn5Piz6DHA.2644@TK2MSFTNGP11.phx.gbl...
> "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
> news:<#soKNBz6DHA.3648@TK2MSFTNGP11.phx.gbl>...
> > It's not a numeric value if it has punctation other than sign or decimal
> > point. A number does not know from separators, that's a formatting in
> text
> > only thing.
>
> I hear what you are saying but for whatever reason, every type of data in
my
> fox tables is being returned as character data except logical fields when
I
> query with ODBC.
>
> With numeric fields, thousands separators are also being added if there
are
> decimal places in the numeric fields [ie N(10,x) where x>0] but I can see
> nothing that controls this in the ODBC settings.
>
> The ODBC driver is v6.01.8629.01 and the fox tables are FPW2.6a tables.
>
> --
> Best regards
> Andrew Howell
>
>