>the replace is done with 'replace xxx in > >even when i took out the multi-table references in the grid - i still >had the problem !!! > >by the way it is in vfp 5. i must use 5 because it is visual accountmate >which hase exe's without source compiled in vfp5 > >thanks
Hmmm -- Can't think of anything off hand. One thing: continue to omit the multiple table references. They cause problems even in 6.00, so I'm sure they would in 5.00. Try doing your replaces:
Select (lc_alias)
replace (lc_alias+"."+fname) WITH lu_value
Make sure lc_alias is the datasource for your grid.
Even if this does not help, maybe you will get a different (and more useful) error message.