Hello,
What I want to do is trim the search field down to the last 7 characters, then search the records with that value. For example now I have a text box (SBSN), that a user puts in a serial number. Then clicks a button and the matching record is returned, if there is one. What I would like to do is. Let's say they type in "AMJHG12L3X24JH". I would like to trim it down to the last 7 characters "L3X24JH" and search with that value instead. I have no idea on how to do that. Any help would be great. Here is some more info on it.
This is a DAP, that takes the value the user types in the textbox "SBSN" and searches the field "SerialNumber", in the Table "tblMachines", and then returns the matching record if there is one.
Thanks,
ScorpioX
What I want to do is trim the search field down to the last 7 characters, then search the records with that value. For example now I have a text box (SBSN), that a user puts in a serial number. Then clicks a button and the matching record is returned, if there is one. What I would like to do is. Let's say they type in "AMJHG12L3X24JH". I would like to trim it down to the last 7 characters "L3X24JH" and search with that value instead. I have no idea on how to do that. Any help would be great. Here is some more info on it.
This is a DAP, that takes the value the user types in the textbox "SBSN" and searches the field "SerialNumber", in the Table "tblMachines", and then returns the matching record if there is one.
Thanks,
ScorpioX