PaidtheUmpire
Programmer
i have a field made up of two parts...
An ID code (first 5 digits) and
An Location Code (next 7 characters).
Is there a way in Delphi 7's SQL to make a WHERE function which will let me get all values where the Location Code is the same? But the big thing is that I need to be able to place the 'ith' in the below statement through the code (as it will change each time)
ie.
SELECT *
FROM Clients
WHERE Name = %ith
DISPLAYS: Smith, Bith NOT Smithcus.
An ID code (first 5 digits) and
An Location Code (next 7 characters).
Is there a way in Delphi 7's SQL to make a WHERE function which will let me get all values where the Location Code is the same? But the big thing is that I need to be able to place the 'ith' in the below statement through the code (as it will change each time)
ie.
SELECT *
FROM Clients
WHERE Name = %ith
DISPLAYS: Smith, Bith NOT Smithcus.