Point 1 --- For the purpose of Bound Column, the columns are numbered 1 to
whatever in your rowsource. So, with the bound column set to 1, the value of
your combobox is the value of the autonumber field. If the combobox is a
bound field and you look at the table where your data on the form is being
saved, you should see numbers.
Point 2 --- The fact that the rowsource of your combobox has an autonumber
says that your combobox is drawing from a set of data already recorded in
the database. In which case it is very unclear why you want to
programatically enter text into the combobox. Please explain.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com www.pcdatasheet.com
"ShyGuy" <sh****@shytown.com> wrote in message
news:j3********************************@4ax.com...
This first column is an index key, and it is an autonumber. The bound
column is 1, but I'm not sure if that is the first column or the
second. For some reason I am thinking that the column numbers start
with 0? The other two are text fields. I enter text to search in
the second column and the third is used to reference if there are
duplicates in the second column. So, if the columns start with 0 then
I am searching for a match in the bound column which is a text field.
On Tue, 18 Jan 2005 14:21:08 GMT, "PC Datasheet" <no****@nospam.spam>
wrote:
Although you see three columns, the combobox still only has one value.
Lookat the row source property and the bound column property to see if the
boundcolumn is text.