*** Button Click IF RECCOUNT("YourTable") == 0 thisform.....Date.ControlSource = NULL ENDIF thisform.....Date.Enable = .t. *** In LostFocus of the Control IF ISNULL(this.ControlSource) AND NOT EMPTY(this.Value) && Or whatever checks you need INSERT INTO YourTable (Field List Here) VALUES (values for that fieldlist) leValue = this.Value this.ControlSource = "YourTable.YourField" this.Value = leValue ENDIF