Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JustExt() in VFP6
Message
From
03/10/1998 15:08:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143188
Message ID:
00143637
Views:
22
>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform