G
Guest
Hi there
I have a table called Customers and currently use the following SQL
statement to search for a company within the table:
PARAMETERS [Company] Text( 50 );
SELECT *
FROM Customers
WHERE Customers.Company = [Company];
However, I'd also like it to throw up results based on a partial company
name too, to save me having to type in the whole name every time.
I've been playing around with various versions of:
WHERE Customers.Company LIKE "[Company]%"
but I can't get anything to work!
Can somebody help me?
Thanks!
Ali
I have a table called Customers and currently use the following SQL
statement to search for a company within the table:
PARAMETERS [Company] Text( 50 );
SELECT *
FROM Customers
WHERE Customers.Company = [Company];
However, I'd also like it to throw up results based on a partial company
name too, to save me having to type in the whole name every time.
I've been playing around with various versions of:
WHERE Customers.Company LIKE "[Company]%"
but I can't get anything to work!
Can somebody help me?
Thanks!
Ali