Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter( ) and Grid
Message
De
13/09/2001 04:21:16
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Filter( ) and Grid
Divers
Thread ID:
00555816
Message ID:
00555816
Vues:
43
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform