Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you find the problem?
Message
From
08/10/2001 17:53:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Can you find the problem?
Miscellaneous
Thread ID:
00565709
Message ID:
00565709
Views:
49
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!
Next
Reply
Map
View

Click here to load this message in the networking platform