Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFilter()
Message
 
To
15/02/2003 06:09:28
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Miscellaneous
Thread ID:
00753658
Message ID:
00753664
Views:
23
Right. Can you just guess all that ? This way it's gonna be too easy.
The CDE is cdeVASPEX, which has a free table, ordered by its Date field, and the order is set. It's just any old data I want to filter by the date. It works fine if I create a public variable and in the form issue
.setfilter('mytable.datefied = dPublicDateVar')
But if I try reference the textbox in the form I get the error that the object (cdeVASPEX) is not in a form. I created a Property in the CDE, but them I don't know how to reference it from the form.
Does it make any sense ?


>OK Mr. Ivan - give us a clue. What is the name of the cursor object in the CDE. Also, the data in the table, what key vale are you using at the time you want to filter the data? Is the data in the table related to the user or is it just any old data that you want to filter by date only? Also, do you have an index on the date in the table?
>
>
>>Hya.
>>
>>I have this form with a Date textbox and a grid. I filter (mean, I try to) the grid's recordsource table by this date, using the cDatePop for the user to pick it up.
>>
>>Due to my vast knowledge of this OOP stuff, I'm facing some problems to set the filter for the cursor in the CDE. It gives me all sort of messages saying that the textbox couldn't be found, the object is not part of a form ... I've tried different ways to call the SetFilter but have had no luck to reference it correctly.
>>I guess that if I try one more stupid thing the system will swear at me.
>>Any help will be welcome, as I wouldn't like people around my desk watch me swearing back at the computer.
>>
>>Thanks.
Ivan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform