are you querying against SQL Server, or is it MS Access? the "like" wildcard for SQL is actually %, instead of *.
also - if you want to do a little more efficient search, do the following:
SELECT * FROM people WHERE last_name like 'mac*'
lastnamevariable = "mac"
sqlstring = "SELECT * FROM people WHERE left(last_name, "
sqlstring = sqlstring & cstr(len(lastnamevariable))
sqlstring = sqlstring & "

= 'mac'"
will output the following:
SELECT * FROM people WHERE left(last_name, 3) = 'mac'
This will work in SQL Server, and SHOULD work in access, but truthfully, I haven't tried it. I've been told that left(fieldname) searches will be faster than a "like" because of how it searches the data.