T
Tony Williams
Sorry to repost this again but still can't get it to work. Here is my
original post with a few amends to make it a little clearer I hope!!
This is a document index system in Access 2000. I have a form based on a
query that is used as a prompt for parameters on a number of controls. I am
using the Like function in my query on one of the controls which is a text
box giving me the title of documents. I am also suggesting the users use an
* as a wildcard so if they want to find all the document titles which
include "reg" they input *reg* So they can get documents whose titles
include words like "regulations" However there are occasions when they may
want to search for document titles which include initials eg "EC" (we are
in the UK and this is an abbreviation for European Community) eg "EC paper
on Credit Insurance" However if they use EC we get every record which
includes ec in that control eg words like "directive","elective" etc How can
I use the Like function with wild cards to just look for documents whose
title includes the initials "EC"?
Hope this makes sense!
Radnar Midstkogen suggested I needed to have two queries for this to work
one using "like" and one using "where" but I found this was a little
complicated for my prompt form.
Any help greatly appreciated.
Tony Williams
original post with a few amends to make it a little clearer I hope!!
This is a document index system in Access 2000. I have a form based on a
query that is used as a prompt for parameters on a number of controls. I am
using the Like function in my query on one of the controls which is a text
box giving me the title of documents. I am also suggesting the users use an
* as a wildcard so if they want to find all the document titles which
include "reg" they input *reg* So they can get documents whose titles
include words like "regulations" However there are occasions when they may
want to search for document titles which include initials eg "EC" (we are
in the UK and this is an abbreviation for European Community) eg "EC paper
on Credit Insurance" However if they use EC we get every record which
includes ec in that control eg words like "directive","elective" etc How can
I use the Like function with wild cards to just look for documents whose
title includes the initials "EC"?
Hope this makes sense!
Radnar Midstkogen suggested I needed to have two queries for this to work
one using "like" and one using "where" but I found this was a little
complicated for my prompt form.
Any help greatly appreciated.
Tony Williams