mrabrams2
Registered User.
- Local time
- Today, 05:59
- Joined
- Apr 29, 2003
- Messages
- 54
Hello,
I am using the following code to add a field to an existing table.
I would like to be able to check the table first, to see if the field is already there.
pseudocode:
If fieldMyField exists then don't add the new field
Can someone guide me to the actual sql code to do this ?
Thank you,
Michael
I am using the following code to add a field to an existing table.
Code:
DoCmd.RunSQL "ALTER TABLE [AES GROUP AUDIT] ADD COLUMN GROUP TEXT", -1
I would like to be able to check the table first, to see if the field is already there.
pseudocode:
If fieldMyField exists then don't add the new field
Can someone guide me to the actual sql code to do this ?
Thank you,
Michael