I'm trying to automate my search process and can't come up with an all inclusive seach string. So rather then waste more time I thought I'd ask you nice people.
Thanks,
Wes [sig][/sig]
I'm actually doing this in coldfusion for a web page. Previously I've tried to do it in access VBA but couldn't figure it out there either. I tried to use different combinations of wildcards but couldn't find a combination that would work. For example, I would think that "*,!,*"
would search a feild returning all records, but it doesn't seem to work. Since coldfusion uses select statments, the same priciples should apply.
Thanks...
Wes [sig][/sig]
actually Wes it should be easier than that for access. the trick here is **don't** use a wildcard. so something like the following will fill a list box called docList with ALL records from the document file (provided you set up the listBox to get query input)
Private Sub mySub()
Dim queryStr as String
'pulls ALL records from Documents file getting DocID
'& description fields
queryStr = "SELECT Documents.DocID, Documents.Description
FROM Documents;"
docList.RowSource = queryStr
docList.Requery
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.