>>Hi everyone..
>>
>>How can I verify if a field already exists in a table?...
>>Need to create it if doens´t....
>>
>>Thanks in advance
>>Carlos Burgos
>
>You may want to check AFIELDS() function and ASCAN or you can simply put your ALTER TABLE command in try/catch block (but in this case you would need to open table exclusively).
Well, it was not a good suggestion, as it turned out. Use FIELD() function instead.
If it's not broken, fix it until it is.
My Blog