Hi Steve ---
Using ALTER TABLE with the CHECK option, set the CHECK to a stored procedure. In the stored procedure, check the value and display whatever you like with MESSAGEBOX().
>In my database, I setup a field-level rule on a table. But when the rule is violated, the Fox head pops up and the message box error says "Visual FoxPro". How can I change the icon and title in that box?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05