>I have a sub form that opens up from a master form. Data such as issue
>details and master form Id fill in on the sub form. Yet when I pull the item
[quoted text clipped - 3 lines]
>How do I get it to pull the field correctly. I do not have any other issues
>with the other fields.
I am pulling it by =forms!CustSvcIssue!ItemNumber which is a field on the
master that is a combo box that looks up the item number on another table
called item master. So basically the custsvcissue has a field called Item
Number, the user typers in the Item number which is a combo box that looks up
the items number from the item master table. When the selection is filled
the description is also pulled...
> >I have a sub form that opens up from a master form. Data such as issue
> >details and master form Id fill in on the sub form. Yet when I pull the item
[quoted text clipped - 13 lines]
> and ColumnWidths property, to conceal the numeric ID but display the text
> ItemNumber.
John W. Vinson - 10 Apr 2008 17:34 GMT
>I am pulling it by =forms!CustSvcIssue!ItemNumber which is a field on the
>master that is a combo box that looks up the item number on another table
>called item master. So basically the custsvcissue has a field called Item
>Number, the user typers in the Item number which is a combo box that looks up
>the items number from the item master table. When the selection is filled
>the description is also pulled...
The combo box on CustSvcIssue undoubtedly has the numeric ID as its bound
column, therefore you're pulling that value. My question would be - do you
really need to display the description here? Normally in this circumstance one
would use a mainform based on the customer service issue (displaying the item
description in the combo box, while storing the numeric ID); and a Subform for
the child table. It would not then be necessary to redisplay the description,
since it's right there already on the mainform!
If you wish to do this anyway, you can pull the description column from the
combo box rather than the bound column by using
=forms!CustSvcIssue!ItemNumber.Column(n)
where n is the zero based index of the column you want to see - e.g. (1) to
display the second field in the combo's row source query.

Signature
John W. Vinson [MVP]