If I had to speculate, I'd guess that the query used for the unbound field
has the datatype mismatch issue. For example, suppose that the bound field
is text, and the query has a where clause like, "CategoryName=" &
txtCategoryName. If CategoryName is text, then you would need to use
quotation marks to explicit state to Access to use text. "CategoryName='" &
txtCategoryName & "'".
What is the controlsource of the unbound field?
What is the exact error msg?
--
HTH,
Steve Clark, Access MVP
FMS, Inc.
Professional Solutions Group
http://www.FMSInc.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Is your Access database too slow?
Are you ready to upgrade to SQL Server?
Contact us for optimization and/or upsizing!
http://www.FMSInc.com/consulting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melissa said:
I have a field on my form that is bound to the underlying table. I added
an unbound field that is invisible, which I tried to control with a record
from a query (related by the main unique identifier). Then, I tried to use
setvalue to populate the bound field. All I get is an error saying that my
fields are different types. Also, how do I make it so that the populated
value is dependent on the unique identifier?