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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add New Column in Make Table Query 1

Status
Not open for further replies.

perrymans

IS-IT--Management
Nov 27, 2001
1,340
US
I have a Make Table query coded into VBA with a RunSQL command to kick it off.

The MakeTable is being formed from three existing tables except...

How can I add a new column called "UseCheck", column type Yes/No, and update all of the records to Yes?

Thanks. Sean.
 
It is easy enough to add an extra column:

Select Field1, Field2, True As newField Into tblTable2 From tblTable

However, it will not be boolean. You can then Alter Table:

Alter Table tblTable2 Alter Column NewField YesNo

 
Works for me, I figured I'd have to run something after the fact.

Thanks. Sean.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top