>>I meant an easier one:) Using plain afields() to create a cursor with same structure is dangerous.
>>
>>select * from customer into cursor xx nofilter
>>use in 'customer'
>>use dbf('xx') in 0 again alias 'customer'
>>use in 'xx'
>>
>>Cetin
>
>
>Thanks... Did you read Sergey's solution. That's one is so interesting...
Not interesting, same thing, confirming that this is a bug. When alias is used VFP internally uses another alias but it should do it always IMHO. OTOH not considered as a bug as it's somewhat documented as Ed noted (when documented hands down).
Cetin