Hi all - I've got a piece of SQl I can't get working -
sSQL is string = [
Select
*
FROM
gpsdContact
WHERE
sFirstName LIKE '%1'
AND
sLastName LIKE '%2'
AND
bDeleted = 0
]
sSQL = StringBuild(sSQL,EDT_FirstName,EDT_LastName)
At least this doesn't throw an error, but brings back an empty set. I want to find all names that start with whatever is in the edit fields. Any ideas?
sSQL is string = [
Select
*
FROM
gpsdContact
WHERE
sFirstName LIKE '%1'
AND
sLastName LIKE '%2'
AND
bDeleted = 0
]
sSQL = StringBuild(sSQL,EDT_FirstName,EDT_LastName)
At least this doesn't throw an error, but brings back an empty set. I want to find all names that start with whatever is in the edit fields. Any ideas?