ACC1x: Index Example Incorrect in "Introduction to Programming"

ID: Q109823


The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1


SYMPTOMS

Page 113 of the Microsoft Access "Introduction to Programming" manual describes the Seek method of finding records. There is an example on that page that includes the line


   Cust.Index = "[Company Name]" 

to set the index. This line results in the error message "'[Company Name]' is not an index in this table."


RESOLUTION

The line that sets the index should not include brackets. The correct line should read:


   Cust.Index = "Company Name" 


STATUS

This problem no longer occurs in Microsoft Access version 2.0.

Keywords : kbusage
Version : 1.0 1.1
Platform : WINDOWS
Issue type :


Last Reviewed: April 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.