J
Jeff Conrad
Hi,
Using Access 97, but this will work for later versions as
well.
I'm wanting to improve a search form in my application.
Right now they just select a vendor from a combo box and
all invoices for that vendor are displayed in a list box.
They can either double click on the list box entry or
click a command button to edit the invoice. It all works
fine, but I wish to improve the searching abilities. I'm
wanting something similar to Albert Kallal's search form
example here:
http://www.attcanada.net/~kallal.msn/Search/index.html
I've set up the continuous form which displays the vendor
name, invoice date, invoice number, and invoice amount.
So questions for Albert if he reads this:
What are the other options available in the combo box? The
screen shot displays "Last name, or Card# to search for."
Do you have other search fields listed in that combo box?
So, for example, another option is to search by company
name. They type in a few letters and the form only shows
company names with those letters. If I'm correct, do you
still have the First Name search field visible or do you
hide that if they select a different search criteria?
I think what I'd like to do is have someone be able to
search by vendor, date, invoice number, and maybe even by
the amount. To do so I assume I will use a query criteria
with the LIKE operator. Correct? Does the continuous form
change with each keystroke by the user or only when they
press Enter?
Should I allow someone to search by vendor and then
further narrow the search by a date range? Can I just
build up the query criteria with more than one search
criteria?
Thanks for any opinions,
Using Access 97, but this will work for later versions as
well.
I'm wanting to improve a search form in my application.
Right now they just select a vendor from a combo box and
all invoices for that vendor are displayed in a list box.
They can either double click on the list box entry or
click a command button to edit the invoice. It all works
fine, but I wish to improve the searching abilities. I'm
wanting something similar to Albert Kallal's search form
example here:
http://www.attcanada.net/~kallal.msn/Search/index.html
I've set up the continuous form which displays the vendor
name, invoice date, invoice number, and invoice amount.
So questions for Albert if he reads this:
What are the other options available in the combo box? The
screen shot displays "Last name, or Card# to search for."
Do you have other search fields listed in that combo box?
So, for example, another option is to search by company
name. They type in a few letters and the form only shows
company names with those letters. If I'm correct, do you
still have the First Name search field visible or do you
hide that if they select a different search criteria?
I think what I'd like to do is have someone be able to
search by vendor, date, invoice number, and maybe even by
the amount. To do so I assume I will use a query criteria
with the LIKE operator. Correct? Does the continuous form
change with each keystroke by the user or only when they
press Enter?
Should I allow someone to search by vendor and then
further narrow the search by a date range? Can I just
build up the query criteria with more than one search
criteria?
Thanks for any opinions,