MS Access VBA Index Field and Set Primary Key for versions 2000, 2002, 2003, 2007
Go here To
Check if Table exists in VBA.
Go here To
Check if Field exists in VBA
Follow the
Update Field in VBA Link to update records in a table.
Follow the
Get Indexed Fields with VBA Link to find all Indexes and Primary Key.
|
The following Access VBA Index Fields code snippet will use VBA to index multiple fields whithin a Table. The VBA
Index Field Sample is available for download
here in a zipped MS Access Database. The below picture (click to
enlarge) shows the Single form. You should be able to copy/paste the below code right into a Module.
|
For the above VBA Index Field Function in an usable Form with Make Table Button, download the Sample database in ZIP format.
For further help or suggestions go here: MS Access tutorials, Tables, Queries and later: Forms
You may post this tutorial on your website or in a forum. If you do please maintain a Link to Eraseve AP.
For further MS Access tutorials go here: MS Access tutorials
| Did you find what you were looking for? What would you suggest? mail@eraserve.com |
