>>>What if the ControlSource is a complex expression? How would we determine if it's an expression or a real field?
>>
>>Right... I think
>>
>>
lcAlias=juststem(.controlsource)
>>if lcalias#.controlsource and used(lcAlias)
>> * we have a table
>>else
>> * not a table - check whether it's a property, variable etc
>>endif
>
>Thanks, Dragan. I found that in CreateTag method that used the original Vlad G code I have code like that checking for the expression already. In the SetOrder method I just added check for used() for now.
>
>BTW, since I got your attention - do you know where this may be coming from
>
>"Your changes could not be saved. A transaction can not be started"
Index on ... to {filename} COMPACT
or
Index on ... tag {tagname} of {filename}
That way you get a cmpact (cdx-style) idx, or a nonstructural cdx, which should not prevent a transaction.