>I create a grid object in a form.
>under the one of the command button I worte\
>with grdCostModel
> .recordsourcetype=4 (that is SQL)
> .recordsource="Select * form costmodel.dbf where costmodel.key=ctKey"
>endwith
>
>and when the program in run time it will appear a table like the browse command. When I close the browse table then the select data appear to gird
>
>my question is how do I let the browse table screen disappear?
>
>Thanks
>
>TS
>8/31/99
Change
.recordsource="Select * form costmodel.dbf where costmodel.key=ctKey"
TO
.recordsource="Select * form costmodel.dbf where costmodel.key=ctKey into cursor test"
HTH
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com