This problem was identified using Visual Basic 5.0 Enterprise edition, MDAC
1.5 (see the REFERENCES section below), and Oracle 7.3. You may see
different behavior with different versions of these components. Following
is an example of what will work and what will fail when creating an Oracle
table that will be accessed by DAO/Jet.
This Oracle table definition will fail:
CREATE TABLE daotest (item_number NUMBER PRIMARY KEY,
depot_number NUMBER);
This Oracle table definition will work:
CREATE TABLE daotest (item_number NUMBER(38,0) PRIMARY KEY,
depot_number NUMBER(38,0));
If you are using Access, the first example will fill your grid with
#DELETE. If you are using Visual Basic/DAO, your grid will show the correct
number of rows but they won't contain any data. You can still insert
records but you never get the correct display.