>WITH THISFORM.grdpayroll
> .RECORDSOURCE = ""
> .SETALL("CONTROLSOURCE", "", "COLUMN")
> .COLUMNCOUNT = -1
>ENDWITH
All the other code looks fine. In the above, try removing the Setall and the Columncount = -1, you don't need those, from what I see - see if that does anything. Ordinarily the cursor source will work fine, and the Valid will fire whether the controls are Readonly or not.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.