>>I've gotten a wrong message "Function JustExt() not found" or so in VFP6, at a place where it worked fine in all previous versions since FPD2.6; that's where I'm extracting the field name:
>>
>>JustField=JustExt(thisform.controls[i].controlsource)
>>
>>The message is wrong - it actually complains of not being able to pass a property to JustExt. Here's the workaround:
>>
>>dummy=thisform.controls[i].controlsource
>>JustField=JustExt(dummy)
>
>Try re-compiling the form. If the form isn't re-compiled you'll get that message. Since you were probably using Foxtools for the JustExt() function, the old compiled code doesn't have a token for it, and therefore can't find the function. VFP 6.0 can run 5.0 code without re-compiling but references to old foxtools functions won't be found since the functions no longer exist in the libary and no token exists in the compiled code.
>
>hth,
This was in a method of a formclass, and misbehaved even after recompiling (several times), and stopped misbehaving when it was handed a local variables instead of an object property. Well, nothing new - old FoxTools functions (depending on version) refused to accept a memo field, or a string longer than 255 chars and things like that - this kind of makes me feel at home.