Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create primary key within a Macro

Status
Not open for further replies.

metrodon

IS-IT--Management
Joined
Jun 11, 2003
Messages
6
Location
US
What Action(s) do you add to a macro to create a new field (AutoNumber) that is the primary key for the Table?
 
Here is more information on my question.
I use the Action OpenTable in View=Design and Data Mode=Add to open the table I want to add a field with a DataType=AutoNumber and then make it the primary key for the table. I don't know what Action to use to add this field to the table that is open.
Any help would be greatly appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top