Did you issue gr1d1.refresh() after?
>hi all,
>
>i use this code under ,i put it at thisfiorm.text1.value procedure valid
>when i press at thisform.text1.value,
> mypageframe1.page1.grid1 as white grid.
>at page2.grid1 i get empty grid,but i have data at mstr table.
>
>and how i can see the result directly at page2,after i press at thisform.text1.value.
>
>any idea
>
>with thisform.pageframe1.page2.Grid1
> .RecordsourceType = 4
> .Columncount = -1
> .Recordsource = 'select inname,nam1 from mstr'+;
> ' where inname = thisform.pageframe1.page1.text1.Value and nam1 = thisform.pageframe1.page1.text4.Value'+;
> ' into cursor crsMyCursor'
>
>endwith
>
>thanks
>m.qasem
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.