>I have a problem with a date in a grid. When a user enters a letter by accident, it crashes with an Operator Mismatch Error. When the date field is in a Textbox, there is no problem, it just will not allow a letter. I tried format/input mask with no success. I must be missing something. Does anyone have any suggestions as to not allow a letter in a date field in a grid so it will not crash? I thought VFP automatically took care of this!
>
>Thanks much,
>
>Bill Todoro
Make sure that the column is explicitly linked to the field, i.e. in Grid.Init
This.Mycolumn.Controlsource='mytable.mydatefield'
Edward Pikman
Independent Consultant