Hi!
For some reason, I did not managed to make "ad-hoc" work in VFP. I do not remember what the cause was, but I remember that we solved problem by creating a custom message. I do not know SQL Server adminitrsation well, so I can suppose it was SQL Server configuration problem, though I have nothing to prove it < s >
Thanks anyway for this note.
>>Try to do not use RaiseError command in SP, or prepare everything required for it. Accordingly to SQL Server help on RaiseError command, you require to create a custom error first, and then use RaiseError o raise that custom error.
>
>Not true. RAISERROR will allow you to specify an ad-hoc message or reference an error message created with sp_addmessage.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.