The information in this article applies to:
SUMMARY
The following sample code fragment sets a data control (Data1) to a
Dynaset based upon an external ODBC database:
NOTE: You cannot set a data control directly to a Dynaset variable, but you can set a Dynaset variable to the data control's recordset:
A data control requires additional information that is not available in a Dynaset object. MORE INFORMATION
Before you can edit an external ODBC table, the table must contain a unique
index. If you get the following error message, you might not have a unique
index on the table:
You could also receive this error if the Data1.Recordset.Updatable flag is not set to True. Also, if you set the Data1.Options property to 64 (SQL_PASSTHROUGH), the data control will not be updatable. REFERENCES
Additional query words: 3.00
Keywords : |
Last Reviewed: June 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |