Question: Hello, I am using access VBA and have a DoCmd.OpenQuery for a create table query. in the table that is created, I need an existing

Hello, I am using access VBA and have a DoCmd.OpenQuery for a create table query. in the table that is created, I need an existing field to be declared the primary key.
What is the VBA code needed to do this?
Thank you.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!