Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property is not found
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00472997
Message ID:
00473262
Views:
30
Doug,
Why use Evaluate() instead of a Name expression?

rej_name = allt(rej_name)
Select (rej_name)

Unless the property is being used elsewhere in the form there is no need to assign rej_name to a form property at all. I've found I almost always have trouble if I use form properties as part of any code more complex than assigning the value to a variable!

Barbara

>I have the following code in a form:
>
>PARAMETERS rej_name
>THISFORM.rej_name = UPPER(ALLT(rej_name))
>SELECT EVALUATE('THISFORM.rej_name')
>
>It has been working fine for a year. We moved everything to a new server, and now we get the error message:
>
>"Property is not found."
>
>when you get to the third line of code above. It doesn't have a value for THISFORM.rej_name. The property is defined on the form. If I SET STEP ON it runs fine. When I build an exe it breaks again. It still runs fine on the old server. I copied my source code to the new server, copied the data to a directory under the source and it even ran fine there on the new server. Any ideas?
>
>Thanks,
>Doug
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform