You could keep the button disabled and then enable it on the textbox's "On Dirty" Event. On the textbox's "AfterUpdate" event, check to make sure the user didn't enter nothing into the box (i.e. started typing and then erased it), and if so, disable the button again.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|