Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the backcolor in a Grid
Message
From
10/01/2002 07:30:44
 
 
To
10/01/2002 01:26:22
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00602300
Message ID:
00602906
Views:
29
Hello Ravi.

- When the form containing the grid is launched, Columns 2-8 are blue
- When I selected March 18, 2001 (cuz I have some test data for that date), I get the message "Expression is invalid. Use a valid expression for DYNAMICBACKCOLOR property". Then I loose the colors after that.
- I then set the sytem date to March 18, 2001 and launched the form
- All cells in the columns without the word "BLOCK" were in blue and the ones with "BLOCK" were in red.
- However, when I click another date on the calendar (even the next day 19th) I get the same message "Expression is invalid. Use a valid expression for DYNAMICBACKCOLOR property".


Off the top of my head, I would say that it is something in your code that is causing the error because the code sample I gave you was tested and worked just fine with no errors.

My suggestion to you is to start removing things from your grid one at a time until the error goes away. Then you have some hope of tracking down the bugs in your code.
Previous
Reply
Map
View

Click here to load this message in the networking platform