>CLOSE ALL >SELECT 1 >USE table4 >INDEX on mindex TO g >SELECT 2 >USE table5 >INDEX on mindex TO gg >SELECT 3 >USE table6 >INDEX on mindex TO ggg >SELECT 4 >USE table7 >INDEX on mindex TO gggg >SELECT 5 >USE table8 >INDEX on mindex TO o >SELECT 6 >USE table9 >INDEX on mindex TO oo > >SELECT 1 >SET RELATION TO mindex INTO table5 additive >SET RELATION TO mindex INTO table6 additive >SET RELATION TO mindex INTO table7 additive >SET RELATION TO mindex INTO table9 additive >SET RELATION TO mindex INTO table10 additive && after 4 set relation's, foxpro says the following: Table10 is not found >You don't need all these Index commands, if you do it right. Open these tables, one by one, in the command window. Then issue the command "Index on mindex tag mindex". Once you have done this, these index tags will be automatically updated.