Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - SET FILTER - can not BROWSE
Message
From
27/03/1997 16:07:45
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
27/03/1997 08:37:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00025702
Message ID:
00025944
Views:
45
>>>How come I can not BROWSE when I SET FILTER TO something?
>>
>>I just set up a dummy table in VFP5 with a field called test2 (a 10 position charactor field). I populated several records with some 1's, 2's and 3,s. I then entered the command "SET FILTER TO TEST2='1'" and only the records with the 1's appeared in the browse Unless there is something I am not seeing it your question , check the expressions on both sides of the = sign (or other operator). I usually check this mysely by going to a record where I think I know what the result would be and enter a command similar to the one in the filter command such as this.
>>
>>? TEST2='1'
>>
>>if you have constructed the statement correctly it should return .t.
>
>The part that does not work is when I call BROWSE FIELDS. The error message is THIS IS NOT AN OBJECT IN THE FORM. Brow_calls is a method
>in the parent class.
>help?

You will have to provide some more code for any of us to figure out your problem. Both the browse command and the filter would be nice <g> Also, try to avoid using SET FILTER and grids.

Thanks
Mike Yearwood, Toronto, Ontario Canada (co-founder of the Toronto Foxpro User's Group)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform