Главная страница | назад





Article #19462: Creating Floats in Access Table results in integers being created

 Question and Answer Database
FAQ4462B.txt — Creating Floats in Access Table results in integers being created
Category :Database (ODBC)
Platform :All-32Bit
Product :All-CBuilder, BC++5.x, C++Builder1.0, C++Builder3.x, C++Builder4.x, Delphi2.x, Delphi3.x, Delphi4.x,
Question:
How come when I'm using ODBC to connect to ODBC Access and I
create a Table with TTable.CreateTable, fields which are type
float result in being type integer?
Answer:
This is a problem specific to Microsoft's implementation of
the Access ODBC driver. The problem does not occur with
other ODBC datasources. The solution is to either use SQL to
create the table or use the Native driver instead.
3/26/99 10:37:14 AM

Last Modified: 01-SEP-99