Hi,
In a company I'm starting to work in, most FoxPro apps use complex indexes with names matching names of existing fields. That is, an index tag "field1" can contain an expression "dtoc(field1)+field2+str(field3,4)". I, on the other hand, try to make Rushmore-optimizable expressions, which usually require simple indexes... but there are already tags named after fields I need. Question is, if I write something like
INDEX ON field1 TAG field1_index
would "field1" be used in optimisation, or Rushmore needs exact matching of index and indexed field names?
Thanks.
In a company I'm starting to work in, most FoxPro apps use complex indexes with names matching names of existing fields. That is, an index tag "field1" can contain an expression "dtoc(field1)+field2+str(field3,4)". I, on the other hand, try to make Rushmore-optimizable expressions, which usually require simple indexes... but there are already tags named after fields I need. Question is, if I write something like
INDEX ON field1 TAG field1_index
would "field1" be used in optimisation, or Rushmore needs exact matching of index and indexed field names?
Thanks.