It is easier to just use a combo box. Use the wizard to set the recordsource
of the combo to txtreferalid. Then go into the properties of the combo, find
events, go to afterupdate and click on code builder. Type:
Me.filter = "[txtreferalid] = """ & Me.yourcomboandcombo# & """"
Me.filteron = true
> Hi Guys,
>
[quoted text clipped - 9 lines]
> --------------------
> Access 2007
Lez - 12 May 2008 17:55 GMT
Hi,
Thanks for that, however, I do not understand your method?
The txtreferalID will not have a value until a choice is made from the combo
box?
> It is easier to just use a combo box. Use the wizard to set the
> recordsource
[quoted text clipped - 17 lines]
>> --------------------
>> Access 2007