Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CMD button on Windows 7
Message
From
18/12/2010 21:08:50
 
 
To
18/12/2010 07:10:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01493206
Message ID:
01493268
Views:
111
Ken,

Could you putting code in the Grid's Refresh() instead?
ThisForm.myButton.Visible = ( RECCOUNT( This.RecordSource ) > 0 )
Another thing I noticed in your code:
THIS.VISIBLE = RECCOUNT('cCustList') > 0 
Should'nt parentheses be used, like so:
THIS.VISIBLE = ( RECCOUNT('cCustList') > 0 )
Hope to help.

Dennis
Previous
Reply
Map
View

Click here to load this message in the networking platform