Hi, by following some advices
from this forum I was able to put combo inside one column of Grid. Combo style is 2 and Rowsourcetype is 1 (Value). I would like to be able to remember in proper data field of used table from Grid a value I picked from mentioned Combo. Do I need add ControlSource for this Combo to wished data field?
Thank you.
There is no good nor evil, just decisions and consequences.
Code:
WITH THIS
.column3.ControlSource = "cars" &&table of Grid1
.column3.AddObject("cmbKodna","combobox")
.column3.CurrentControl = "cmbKodna"
.column3.cmbKodna.AddItem("1")
.column3.cmbKodna.AddItem("2")
.column3.cmbKodna.AddItem("3")
.column3.cmbKodna.AddItem("122")
.column3.cmbKodna.AddItem("407")
.column3.cmbKodna.AddItem("505")
.column3.cmbKodna.AddItem("707")
.column3.cmbKodna.AddItem("747")
.column3.Sparse = .F.
.column3.cmbKodna.style=2 && dropdown listbox
.Visible= .T.
ENDWITH
from this forum I was able to put combo inside one column of Grid. Combo style is 2 and Rowsourcetype is 1 (Value). I would like to be able to remember in proper data field of used table from Grid a value I picked from mentioned Combo. Do I need add ControlSource for this Combo to wished data field?
Thank you.
There is no good nor evil, just decisions and consequences.