Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nothing is shown on grid
Message
 
To
09/05/2000 23:06:03
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00367951
Message ID:
00367958
Views:
12
>Hi, I'm a college computer science student programmer currently doing a project for my 'A' Level Examination. Below are some of the problems I encountered in my project.
>
>1)I have created a grid using builder and also manually, but when I run the form, nothing is shown in the grid. Why is this so?

That may happen if you reset the grid.RecordSource somewhere in code, can't say more because I don't have any details about your grid settings.

>2)Is grid control only capable of displaying values obtained from table? I have a field on my table which is the position field which value can be 'L'(LEADER) or 'M'(MEMBER) and I wish to show LEADER or MEMBER while not 'L' or 'M', how can this be done?

The Column.ControlSource may be a calculated field, in your case it may be the expression like:

IIF(position = "L", "LEADER", "MEMBER")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform