|
-
Mar 24th, 2000, 10:04 PM
#1
Thread Starter
Hyperactive Member
In one of my projects I can click on a button and execute a parameter query in the dataenvironment against the LastName field of my database. The parameter is passed from the user input into a input box. I thought everything was working fine. It returns the expected results as long as I enter the name exactly.
However, I get no results if the last name is incomplete. What I want to do is be able to enter something like "bu" and have it return all records that have "bu" in the last name, such as burns, Burns, buttonwood, burnside, burg, butler, etc. The code I am currently using is listed below.
SELECT ContactDate, FirstName, LastName, Address, City, Country,
`Contact Type`, `Denominatinal Background`, EmailName,
PostalCode, StateOrProvince, WorkPhone, `Brief Note`,
Notes
FROM `General Conference Contacts`
WHERE (LastName = ?)
ORDER BY ContactDate
Any help here will be most appreciated.
Thanks,
Rev. Michael L. Burns
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|