Mike Yearwood
Toronto, Ontario, Canada
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only