>Jess,
>I deleted the combo boxes from the form and used the addobject
>in the init section of the grid to add the combo box. Now I need
>to work on getting the filters back in somehow, and changeing
>the current control back & forth from combo to text. I am a little
>confused at which point the CurrentControl changes. I guess I'll play
>with it a awhile.
Why the need to delete the combo box then add it again? You can drop as many controls as you want (realistic ofcourse) on each column and play with them through CurrentControl property.
You can have this code at AFTERROWCOLCHANGE Event of the GRID:
IF This.ActiveColumn = 2
WITH This.Column2
DO CASE
CASE option = 1
.CurrentControl = "TextBox1"
CASE option = 2
.CurrentControl = "Combo1"
.Combo1.Requery()
CASE option = 3
.CurrentControl = "Combo2"
.Combo2.Requery()
ENDCASE
ENDWITH
ENDIF
If notice the REQUERY for Combo Controls, my suggestion is to use SQL as combos rowsourcetype property.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."