Hi Albert
I have had many problems with combo boxes in grids. Here is a tip I find works everytime:
I first add the combo to my form, OUTSIDE the grid, set it up and run the form to make sure it works as it should.
Once I am satisfied, I then copy and paste it into the grid, and test again.
Only then do I delete the combo from my form and also the un necessary textbox in the column that now has the combo.
Lastly I set sparse = .F. and I am done.
Cheers
Bernard
>Hello Everybody !
>
>With the IDE i put a combobox into a column. (column2 now has header1,text1 and combo1)
>A init of my form i did:
>thisform.grid1.column2.currentcontrol = "combo1"
>thisform.grid1.column2.rowsourcetyp ....
>thisform.grid1.rowrource ....
>
>error:column2 currentcontrol expression return invalid value ???
>
>I have done this in a lot of forms without any problems.
>(there was only one form with the same problem! i couldn't put a combobox in a spezific column(4) !
>Same code worked with all other columns in the same grid ???)
>
>In this grid the problem occurs in any column.
>What am i missing ?????
>
>Any help welcomed
>Best regards
>Albert