>>I have a combobox in a grid called cboBuil. In the AfterRowColChange of the grid I have the following code:
>>
>>This.Column10.cboBuil.Requery
>>
>>This causes the error PARENT is not an object. If I click on Help when the error comes up it tells me this:
>>
>>This name was previously defined as something other than an object.
>>
>>· You have another occurrence of name.
>>
>>Check your code for duplicate instances of name.
>>
>>This is no other occurrence of cboBuil. Any ideas?
>
>Colin,
>
>A grabbag of ideas:
>
>1) I'd check that the column does not have a controlsource set, if the combo does
>
>2) Check that there aren't any other copies of the control in the column
>
>3) How many items are being pulled into the combo? More than 254? What is the rowsourcetype? What style of combo (list or combo)?
>
>4) Pull the .scx into the Class Browser, and search the text output for cboBuil.
>
>Good luck,
>
>Hank
Hi Hank,
Thanks for the reply. How does #1 have any impact? I thought the column always have the same controlsource as the objects contained in the column by default. I did #2 and there aren't any. #3, no there is no where near 254 items and the rowsourcetype is a SQL-SELECT. I did #4 and there isn't more than one object with that name.
Any other ideas?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.