>>>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.