Thanks for response. Following are answers in same order.
1) SELECT qryMSDSdata.ProdName FROM qryMSDSdata;
2) 1
3) 1
4) 3.4063
5) BLANK
6) Private Sub Combo77_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ProdName] = '" & Me![Combo77] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
You are generating just one column in the rowsource; it's showing 1
column and bound to that column. I'll assume that the column width is
in inches 3.0463". The AfterUpdate code looks good. This control
should not be bound to any field in the table.
All of the above looks OK.
When you select one of the rows in the combo box, that record should
be displayed on the form.
1) Are you absolutely sure that the value in the row selected actually
exists in the form's recordsource.
2) Are you sure that the datatype of the bound column in the Combo Box
is the same as the Table field's datatype (your code shows it'stext).
In other words, while the combo may show "Coffee Pot" the [ProdName]
field in the table is really a Number datatype and is storing, for
example an 8 (which corresponds to "Coffee Pot"). This can occur if
your table is using that ill begotten LookUp field, where it stores
one value but displays another.
Make sure of the table field's actual datatype.
If in fact it is a number, than change the AfterUpdate event to:
rs.FindFirst "[ProdName] = " & Me![Combo77]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail- Hide quotedtext-
- Show quotedtext-