Hi all,
Have asked this question before but have had a bit of trouble wording it, so bare with me please.
I have a form with several fields on, Surname, Forename and Learn_id.
When I enter a surname and forename the names are concatenated and placed into my Learn_id field.
e.g.
Anthony Webb
would be WebbA in the Learn_id field. Unfortunately to navigate around my databases i have several command buttons which use stlinkcriteria code.
When a name such as James o'connor is typed in my Learn_id becomes O'coJ and when i click my command button, it thinks that the learn_id is O.
Is there anyway that when i concatenate my fields to the Learn_id that is only takes the letters from the surname, instead of any character that is in the text box.
Have been told to use the replace function but am unsure fully of how to use it and where to put it.
Also there may be different characters in a name such as the ~ key and - and ' so i am unsure of what to do.
Thanks for any help given.
Regards
Anthony
Have asked this question before but have had a bit of trouble wording it, so bare with me please.
I have a form with several fields on, Surname, Forename and Learn_id.
When I enter a surname and forename the names are concatenated and placed into my Learn_id field.
e.g.
Anthony Webb
would be WebbA in the Learn_id field. Unfortunately to navigate around my databases i have several command buttons which use stlinkcriteria code.
When a name such as James o'connor is typed in my Learn_id becomes O'coJ and when i click my command button, it thinks that the learn_id is O.
Is there anyway that when i concatenate my fields to the Learn_id that is only takes the letters from the surname, instead of any character that is in the text box.
Have been told to use the replace function but am unsure fully of how to use it and where to put it.
Also there may be different characters in a name such as the ~ key and - and ' so i am unsure of what to do.
Thanks for any help given.
Regards
Anthony