JackieEVSC
Programmer
We frequently have to retag computer equipment used by students. We have a SQL database that has a list of all asset numbers and associated serial numbers.
With older units, we can scan the serial number to get the asset tag (and visa/versa). With the new units, when we scan the serial number, we get a really long number (like 1S02DAS00100LR035QW2), but only need the last 8 digits (LR035QW2), which is what we have in the SQL database as the serial number.
For the life of me, I cannot seem to get the query to pull the associated asset tag number when scanning the serial number. How do I get the query to use only the last 8 digits of the input box to pull in the associated data from the SQL table?
With older units, we can scan the serial number to get the asset tag (and visa/versa). With the new units, when we scan the serial number, we get a really long number (like 1S02DAS00100LR035QW2), but only need the last 8 digits (LR035QW2), which is what we have in the SQL database as the serial number.
For the life of me, I cannot seem to get the query to pull the associated asset tag number when scanning the serial number. How do I get the query to use only the last 8 digits of the input box to pull in the associated data from the SQL table?