Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controls in Grids and Views
Message
From
16/12/2000 17:28:52
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Controls in Grids and Views
Miscellaneous
Thread ID:
00454424
Message ID:
00454424
Views:
75
I have a grid which is populated with data from a view. I have list box controls in many of the columns which have values in them. I programmatically refresh the grid with code to assure that the Grid and View are Requeried and reflect any changes made to the underlying data. Problem is I have lost the Values I loaded into the Combo boxes when running the form. What is correct syntax to make sure the values are loaded into the combo box?

Right now I use in the activate event:

Thisform.grdInt.recordsource = ""
Thisform.grdInt.recordsource = "rmtinterventions"
Thisform.grdInt.column1.controlsource = "rmtinterventions.verb"
Thisform.grdInt.column2.controlsource = "rmtinterventions.subject"
Thisform.grdInt.column3.controlsource = "rmtinterventions.outcome"

I have values in the combo boxes for columns 1, 2, and three which are missing when the form is run.

thanks
Some days it's not worth chewing through the leather straps ...
Next
Reply
Map
View

Click here to load this message in the networking platform