>>>>With Thisform.DET_GRD
>>> .recordsourcetype = 0 && 1 Alias
>>> .recordsource = 'CURSOR1'
>>>
.Refresh()>>>EndWith
>>
>>Jim, if this code is run from the form's init method, a refresh is not necessary, because all controls on a form are implicitly refreshed after the init method.
>
>Erik,
>
>Wai Wai did not say the code was running from the form's Init.
Actually, you never have to issue a refresh, no matter where the code is called from. Changing a grid's recordsource causes it to refresh itself.
Erik Moore
Clientelligence