>>When updating SQL Server database with a duplicate value in a unique column I get error 1526 (using VFP function
>>AERROR(aErrorInf )). This number seems to be specific to SQL Server and not to VFP. Does it change from version to version of SQL? The reason I am asking is I want to "translate" this number into a meaningful message to a user.
>
>AFAIK it's not SQL Server Error, but the error associated with ODBC in VFP, which is not going to change.
Thank you, Naomi. Do you know where I can find all the different error codes associated with ODBC?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham