Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with this expression?
Message
From
02/05/2006 17:17:33
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01118569
Message ID:
01118578
Views:
12
What is the actual error returned? Is it unknown member? Are you sure the textbox belongs to the container and not to the form itself?

>The control is a container that has a button and a text box. The name of the control is what I name it. Initially I named it shop_lookup. The name of the textbox contained in the container is txtLookup, which obviously has property .value. The code is in a form button click() method (the form has this container control). And this is the second time that this particular name gives me a trouble and I have to rename it to something like "shopid_lookup" or whatever different. Strange.
>
>
>>What is the actual control's name? Is the control a textbox, a grid, or what? Does it belong to any other object on the form (page in a pageframe, etc)? Or does the textbox sit directly on a form? If you right click on the control in the designer and choose properties, what is its name? Is it shop_lookup or is it txtLookup?
>>
>>Also, where is your code below located? In what method?
>>
>>
>>>I get an error "Function missing (" on the following line:
>>>
>>>
>>>IF !EMPTY( thisform.shop_lookup.txtLookup.value )    &&& !! Error
>>>ENDIF
>>>
>>>
>>>But if I change the name of the control from SHOP_LOOKUP to anything (e.g. .myshop_lookup), no error. What does the "SHOP_LOOKUP" has that makes it different?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform