I have a txtDate control that works fine when I drop it into a form, but if I drop it into a column of a grid it causes "illegal operation" during init() and drops me out of VFP5.0.
txtDate.Format='D'
grid.Col2.Format='D'
grid.Col2.Bound = .t.
grid.Col2.ControlSource=v_services.cs_date (view, type='D')
error is trigger regardless of what grid.Col2.CurrentControl is set to.
the line that triggers the error is "this.value={}".
Any ideas?
TIA
Bill Morris