In my prg I have:
[tmpfil='tmp'+sys(2)
copy to &tmpfil
use &tmpfil
do form bgrid1]
but I get "unknown member grid" error mess.
>You should use
real grid name.
Ok, errors are gone now. my code in a button on the form contains:
thisform.grid1.RecordSource="&tmpfil"
thisform.refresh
HOWever I get a blank grid. tmpfil=tmpfil='tmp'+sys(2) and IS a real working dbf.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."