On 1/31/07, Johannes Schmid <[EMAIL PROTECTED]> wrote: > Hi! > > Is it possible to make a field/parameter of a GnomeDbForm or GnomeDbGrid > mandatory? The user should be able to enter any text in the field so it > should not be restricted by a combo box but the field should not be empty. >
Just get a pointer to the GdaParameter and call gda_parameter_set_not_null() _before_ creating the form or grid (if you do it after, then it will work but the label for the parameter in the form won't have the little '*' at the end meaning the entry is mandatory, though this could be corrected). Regards, Vivien _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
