Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with grid in a form
Message
From
17/10/2000 01:20:00
 
 
To
17/10/2000 00:04:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00430126
Message ID:
00430168
Views:
12
>Hi,
>thanks for your help. But I already try what you suggest but it's does not work. Actually in my pageframe I also use combo box and also grid. I want ,when I choose the field from the list of combo box, the list/data of the field will display in a grid.
>But when I run the form,the grid is empty and the combo box is display the list of the field of table.Any sugestion?

I assume that you have a single column Grid. You need to assign an initial value to the ControlSource of the Column that matches the initial field of the ComboBox's ControlSource value. Each time the ComboBox's value is changed, you have to reset the Column's ControlSource, and Refresh the Grid. In all probaility, you'll have to adjust the Column width, Header caption, and perhaps the COntrol's characteristics.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform