Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox in a grid
Message
From
06/03/1999 08:09:49
 
 
To
05/03/1999 06:59:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00194371
Message ID:
00194817
Views:
19
David,

Thanks again. I have it working ok except I need to put the value that I choose from the combo box into the current field after I select it from the combo box.

LOCAL lnColCnt, lnCnt
lnColCnt = This.ColumnCount
lnCnt = 1
FOR lnCnt = 1 to lnColCnt
* Find the column for the RodId
IF UPPER(This.Columns(lnCnt).ControlSource) = "RODID"
This.Columns(lnCnt).Bound = .F.
This.Columns(lnCnt).AddObject("cboRodId", "COMBOBOX")
This.Columns(lnCnt).CurrentControl = "cboRodId"
This.Columns(lnCnt).cboRodId.Visible = .T.
This.Columns(lnCnt).Sparse = .T.
This.Columns(lnCnt).cboRodId.RowSourceType = 6
This.Columns(lnCnt).cboRodId.RowSource = "Rod.RodId"
ENDIF
ENDFOR
Previous
Reply
Map
View

Click here to load this message in the networking platform