Does anyone know how to use a DDL command to remove or change a field's "Validation Rule" in an Access table?
I have an existing MDB (2002) with a table that was created using the Access table designer. Table is named 'GlidePath', with a field named 'DaysOnly'. The 'Validation Rule' property of the table was set to "MW" or "TF" (also using the designer) to restrict values in that field to MW or TF. But I need to change or remove that restriction. And i don't want to have to open the MDB using Access.
I tried the following:
ALTER TABLE GlidePath DROP CONSTRAINT [DaysOnly.ValidationRule]
but Jet is returning an error "CHECK constraint 'DaysOnly.ValidationRule' does not exist."
(I am using a linked server in SQL Server to attach to the database, and use DDL to modify it. I can run other DDL commands against it, but can't remove or modify the "Valiation Rule".)
I have an existing MDB (2002) with a table that was created using the Access table designer. Table is named 'GlidePath', with a field named 'DaysOnly'. The 'Validation Rule' property of the table was set to "MW" or "TF" (also using the designer) to restrict values in that field to MW or TF. But I need to change or remove that restriction. And i don't want to have to open the MDB using Access.
I tried the following:
ALTER TABLE GlidePath DROP CONSTRAINT [DaysOnly.ValidationRule]
but Jet is returning an error "CHECK constraint 'DaysOnly.ValidationRule' does not exist."
(I am using a linked server in SQL Server to attach to the database, and use DDL to modify it. I can run other DDL commands against it, but can't remove or modify the "Valiation Rule".)