>Can anyone please tell me how I can put:
>
>(1) a combo box in a grid , displaying data accessed from a table
>
> by this combo box I need to setup the field's value on each record
> that is displayed in the grid, and I would like also to set the
>
> fields readonly=.T. , and just leave of the combo box field as
> readonly=.F.
>
>
>
>(2) a button near each and every record that is in the grid, inwhich i
> can put code, to give me further results; using data in the
> record where the button was pressed.
Johann,
Create one temporarily on form. Then copy it. Rightclick on grid and select edit, select target column and paste. Change column's currentcontrol property to added control (use dropdown). I suggest not to set sparse = .f. for combo in a grid but it's up to you. Set combo's style to "dropdownlist" so it would be "readonly" for a new entry.
Same goes for commandbutton.
If you save your temporary controls as classes and use them instead it would be easier to manage them later.
Cetin