Getting Constraints from the Database

Hi group,

Is it possible to get field constraints from the database and have those
constraints in the data-aware components (dbedit) so you can type in the
dbedits with those constraints enforced?

I've also been having some problem typing in the dbedits.  It does not
allow me to type in them after I've cleared them.

If someone could give some code examples I'd greatly appreciate it.