Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference a form from another form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00207251
Message ID:
00209533
Views:
32
Hi Bruce,

I tried:
SELECT(oHeader.Parent.ControlSource)
and
SELECT(oHeader.Parent.Parent.RecordSource)
and both kept me on the correct view.
I had in the debugger watch
ALIAS(SELECT())
and I stayed on the same view.
The contents of oHeader.Parent.ControlSource allways equals CustView.fname which is the column that I right clicked on...

Could the problem be with the view???

Thanks

>>Correction I meant to type
>>LOCATE FOR ALLTRIM(oHeader.Parent.ControlSource) = "John"
>>
>>>This fails to find the record even thought there are 20 John records
>>>LOCATE FOR ALLTRIM(C) = "John"
>in the command.click method?
>
>Two things to look at:
>
>1) try, before the LOCATE:
>
>SELECT (oHeader.Parent.ControlSource)
>
>2) In the debugger at the LOCATE, what is the contents of oHeader.Parent.ControlSource?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform