sub5
Programmer
- Oct 12, 2005
- 104
Hi all, does anyone know how to get a combobox to list the text from the "descriptions" column found in table design view?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Sub RefreshRowSource()
dim tdf as dao.tabledef, db as dao.database, fld as dao.field
dim strSource as string
For Each fld in tdf.fields
[red]strSource = strSource & fld.Properties("Description") & ";"[/red]
Next
strSource = left(strsource, len(strsource)-1)
me.combobox.rowsource = strsource