Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter( ) and Grid
Message
From
13/09/2001 04:21:16
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Filter( ) and Grid
Miscellaneous
Thread ID:
00555816
Message ID:
00555816
Views:
44
hi all,

I have a form, which has two textlabel and a grid on it.

The grid is to show the content of a table, and each button have their own filter settings. For example:
Text1.click()
set filter to
thisform.MyGrid.refresh()
Text2.click()
set filter to type=="B"
thisform.MyGrid.refresh()
Both works fine, the only problem is, if I clicked Text2 and the result is none, and then I click on Text1, there will be no record displayed. But Text1.click() should reset any filter as shown above...

Even more strange, if I replace the two textlabel with commandbuttons and copy and paste the click() event codes, it will work just fine! What is the problem with the textlabel?

Please help! Thanks a lot!
Jimi
error(503): file structure failure, signature file corrupted.
Next
Reply
Map
View

Click here to load this message in the networking platform