>Hi Naomi,
>>Are you sure your cursor has fields with the names less than 10 characters? You can not alter cursor otherwise.
>
>
>You were actually right !!
>I checked it again this morning and there was in fact few of them
>longer then 10. Wld not cross my mind in million years !
>Hence Message 'Invalid Opeation for the cursor'
>
>Afields() was infact pulling structure out of table which
>was created/used by one old system and had few fields longer then 10.
>Whole thing worked fine in VFP6.
>
>These are good news for me because as I said, I don't use long field names myself so workarround (done already) will hv to be applied to very few cases.
>
>Sergey, you were also right :)
>(But then again u are always right)
>
>Thks to both of you :)
Glad I can help <g>
If it's not broken, fix it until it is.
My Blog