>Nick,
>>>
>>> I'm not sure, that I understand, how can we take it of from the loop. It evaluates loObj depending on laCursorList[i]...
>
> May be I'm still missing something, but what happens, if we have several databases in DE? It is possible, isn't it?
Yes, but then you need to change the code to analyze what was the database name and assign corresponding new database. In most cases the name of database is the same, there is only the need to change to another database location.
> BTW, Jim Booth wrote me, that if we have logical variable, we don't need to write : if llVar=.t., because it's the same to write if llVar. It will count only in SQL optimization...
>
That's correct, but sometimes I do that just make the code look more clear.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison