>How can I remove the record validation rule in a table from program?
>Thanks
Have your checked ALTER TABLE command syntax?
SET CHECK lExpression3
Specifies the table validation rule. The lExpression3 parameter must evaluate to a logical expression and can be a user-defined function or a stored procedure.
ERROR cMessageText3
Specifies an error message for the table validation rule in lExpression3. Visual FoxPro displays this message when the table validation rule generates an error. The message displays only when data is changed within a Browse window or Edit window.
DROP CHECK
Removes the table validation rule.
If it's not broken, fix it until it is.
My Blog