Article ID: 113332
Article Last Modified on 12/9/2003
Form1.AutoRedraw = True Data1.DatabaseName = "DB.MDB" Data1.RecordSource = "SELECT * FROM Table1 WHERE Field1 = 'Record1'" Data1.Refresh Data1.Recordset.MoveLast Print "ReadOnly "; Data1.ReadOnly Print "Options "; Data1.Options Print "Updatable "; Data1.Recordset.Updatable Data1.Recordset.AddNewThe other method is to delete the index. In the previous example, you would delete Index1.
DATABASE: DB.MDB TABLES: Table1 FIELDS: Field1 in Table1 INDEXES: Index1 on Field1 not Unique and not Primary
Sub Command1_Click ()
Form1.AutoRedraw = True
Data1.DatabaseName = "DB.MDB"
Data1.RecordSource = "SELECT * FROM Table1 WHERE Field1 = 'Record1'"
Data1.Refresh
Print "ReadOnly "; Data1.ReadOnly
Print "Options "; Data1.Options
Print "Updatable "; Data1.Recordset.Updatable
Data1.Recordset.AddNew
End Sub
Additional query words: buglist3.00 3.00 buglist3.00 fixlist4.00
Keywords: kbbug kbfix KB113332