Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo in a grid problem
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combo in a grid problem
Miscellaneous
Thread ID:
00837659
Message ID:
00837659
Views:
53
I have the following code that fill a grid. The problem I have is with the line .Column3.wscombobox1.controlsource = ...
Err.mess.:Parent object will not allow this property setting for ffecost.wsgrid1.column3.wscombobox1.ControlSource.

WITH THISFORM.Wsgrid1
.RecordSource = "cur_ffecost"
.Column1.ControlSource = "cur_ffecost.invcode"
.Column2.ControlSource = "cur_ffecost.ecost_mnt"
.Column3.ControlSource = "cur_ffecost.ecost_mnt_cur"
.Column3.wscombobox1.ControlSource = "cur_ffecost.ecost_mnt_cur"
.Column4.ControlSource = "cur_ffecost.vendorcode"
.Column5.ControlSource = "cur_ffecost.vendorname"
.Column6.ControlSource = "cur_ffecost.ref"
ENDWITH

The same control, out of the grid, works perfectly:
THISFORM.wscombobox1.ControlSource = "cur_ffecost.ecost_mnt_cur"

I cannot figure out what is happening here ?

Thanks for any help
Eric
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Next
Reply
Map
View

Click here to load this message in the networking platform