Hello,
I have an unbound Combo (textbox) that has the following Rowsource Set
Code:
SELECT PartCatPREFIX, PartCatDescription FROM PartCategory;
On the change event, I filter the Form based on the value.
Code:
'---This is the Part Filter
If txtFilter = "" Then Exit Sub
sStar = "*"
sFilter = "[PartNo] like " & Chr(34) & sStar & txtFilter & sStar & Chr(34)
Me.Filter = sFilter
Me.FilterOn = True
cmdAddNewPart.Enabled = True
txtFilterView = ?????????? ' Can I call the second value directly
the last line is where I would like to set a textbox txtFilterviewon the form to show the current filter selection to the PartCatDescription field.
I could requery for the value in the textbox, but I was wondering if it is possible to call the second field in the rowsource directly?
thanks
Steve