To All
Is there a way to test a SQL table to find out if there is a specific field name .. I need to be able to Alter a table and add a column if the column name I am looking for does not exist ?
I have thought about opening a recordset and with a try catch test if a value exists ??
Try
cTest := oRs:Fields("FieldLookingFor"):Value
Catch
// failed .. so add the column with the Alter table command
End try
The above is not very elegant .. Any suggestions ?
Thanks
Rick Lipkin