> >I agree with some flag (global variable), like I think Walter is using in his RI builder. But I didn't get the part about macro... Could you please explain, what do you mean?
*-- app setuppublic glkeepRITablesOpen
glkeepRITablesOpen = .f.
....
= batchcommand("Replace myField with 12345 next 5000 in myTable")
func batchcommand(tcCommand)
glkeepRITablesOpen = .t.
&tcCommand
glkeepRITablesOpen = .f.