G
Guest
Help! I've designed a table with the first field, named "Unit" as an index,
duplicates OK.
Unit is defined as a text field, 12 characters long; Required = Yes; Allow
Zero Length = No; Indexed = Yes, (Duplicates OK); Unicode Compression = No
When running the following code, I get the message '"Unit" is Not an Index
in this table.'
Set dbDOB = CurrentDb()
Set recDOB = dbDOB.OpenRecordset("Test Table", dbOpenTable)
recDOB.Index = "Unit"
Is the problem the fact that I left duplicates as OK and that I should not
be using Seek on this table?
duplicates OK.
Unit is defined as a text field, 12 characters long; Required = Yes; Allow
Zero Length = No; Indexed = Yes, (Duplicates OK); Unicode Compression = No
When running the following code, I get the message '"Unit" is Not an Index
in this table.'
Set dbDOB = CurrentDb()
Set recDOB = dbDOB.OpenRecordset("Test Table", dbOpenTable)
recDOB.Index = "Unit"
Is the problem the fact that I left duplicates as OK and that I should not
be using Seek on this table?