|
-
Jun 7th, 2004, 08:06 AM
#1
Thread Starter
Lively Member
Listindex
Hi All:
How can I select the Listindex of a combobox or listbox?
I am populating the combobox in the following manner:
For i = 1 To oRecData.RecordCount
With Form2.cmboevebldg
sDesc = oRecData.Fields("Location_Name") & Space(60) & "$" & CStr(oRecData!Location_ID)
.AddItem sDesc
.ItemData(.NewIndex) = oRecData!Location_ID
End With
oRecData.MoveNext
Next i
I need the location_ID
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|