Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you find the problem?
Message
De
08/10/2001 17:53:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Can you find the problem?
Divers
Thread ID:
00565709
Message ID:
00565709
Vues:
51
I have a fairly simple form that displays a list of records with one filter. There is a set of two radio buttons to change the filter. When you click on one of the buttons, the interactive change method does the following:

thisform.mstatus = iif(this.value = 1,"A","C")

There is an mstatus_assign method that fires when we change mstatus:
usual parameter
this.mstatus = m.newval
set filter to this.mstatus
thisform.grid1.refresh()

Seems simple, but everytime I do it, I get a message "Property mstatus is not found." Mstatus is defined as a public variable on the form. The variable this.mstatus has the correct value in it when I check prior to the grid refresh. The form and grid are both staight from the standard libraries, no new code in refresh or anything like that. What bonehead thing am I doing or overlooking???

P.S. I will gladly email this code with a sample table set if you'd like to see it; it's all very small. But it's driving me crazy....

TIA!
Vicki Combs
Customized software for today AND tomorrow...
Applications and web sites designed, developed and maintained. (MBE)

"Change is inevitable...unless that's changed!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform