>>I meant aUsed. How many aliases open do you have in your form? I'm with Borislav here, you may accidentally switch to the wrong alias and don't even know.
>>
>>Just put in debugger:
>>
>>fcount()
>>fcount('MyCAAlias') and see if the numbers differ.
>>
>OKay, did it in the debugger and got:
>
>AUsed() - 1
>fcount() - 2
>fcount('sftable') - 2
>afields() - 1
>
>not liking this at all. :-(
>
>Thanks for all the advise anyway, Naomi and Borislav.
>
Hmmm, looks like you found some strange bug and it's a pity that our
advices were not helpful. <g>
If it's not broken, fix it until it is.
My Blog