G
Guest
I am trying to allow users to enter item names using a combo box - no problem.
If they type a name and it doesn't exist on the combo box list, I want to
check whether what they have typed in has the word 'machine' in it.
If it does, I want to default the combo box selection to a specific record
that does exist in the list (the Main Machine record) and output what they
typed in to another field.
If their entry is missing from the list and doesn't contain the word
'machine' I just want to put out a message.
The final part I have working using the NotInList property but can't get the
first bit to work.
The combo box I am using hides the first 4 fields that it selects, including
the key field, and what is type in is a description. It then populates a
number of fields on the form based on the record selected.
Can anyone advise? Perhaps I need to completely rethink the way I am going
about this.
If they type a name and it doesn't exist on the combo box list, I want to
check whether what they have typed in has the word 'machine' in it.
If it does, I want to default the combo box selection to a specific record
that does exist in the list (the Main Machine record) and output what they
typed in to another field.
If their entry is missing from the list and doesn't contain the word
'machine' I just want to put out a message.
The final part I have working using the NotInList property but can't get the
first bit to work.
The combo box I am using hides the first 4 fields that it selects, including
the key field, and what is type in is a description. It then populates a
number of fields on the form based on the record selected.
Can anyone advise? Perhaps I need to completely rethink the way I am going
about this.