After adding a new column to a table in a Microsoft Access database, how can you set its Validation Rule and Validation Text?
My current workaround is a check constraint on the table.
The code uses System.Data.OleDb classes from .NET Framework 1.1, and the database engine is Microsoft Jet 4.0 (it is a very old application).
You can use Jet DAO if you add the "Microsoft DAO 3.6 Object Library" COM reference to your .NET project. Then you can do something like this: