>
>With Thisform.DET_GRD
> .recordsourcetype = 1 && 1 Alias
> .recordsource = 'CURSOR1'
>EndWith
>
>no any error message prompt out, but the grid still cannot display any data~
This code works for me. Where are you running the grid code from? You should be doing it in the form.init method.
Erik Moore
Clientelligence