473,382 Members | 1,204 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Search Function

I am aware of how to create a basic query where I can type details into
a field and pull back the results. What I would liketo do is have a
form where I fill out fields from a drop down list (lookup table?) and
then be able to have the reults based on this.

Basically, rather than having to remember each category, I want to
select the information I am querying.

Hope you understand what I am trying to do and can help.

Thanks in advance,
Simon

Feb 7 '06 #1
3 1858
<Si**********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I am aware of how to create a basic query where I can type details into
a field and pull back the results. What I would liketo do is have a
form where I fill out fields from a drop down list (lookup table?) and
then be able to have the reults based on this.

Basically, rather than having to remember each category, I want to
select the information I am querying.

Hope you understand what I am trying to do and can help.

Thanks in advance,
Simon

Yes you can do this by setting a combo box's source property to "Field
list". A little code to build up your filter string and Bob's your uncle.
I can send you an example if you like ... but have you considered using the
built-in "filter by form" method? Infinitely more flexible IMO.

Keith.
www.keithwilby.com
Feb 7 '06 #2
I know about the "filter by form" method, but using this you either
have to be on a record with a parameter you want so you can sort by
that entry or, you need to previously know the field you want to filter
on.

If I can manually create the filters to be selected from a drop down
list then this will avoid the complications of spelling mistakes.

If you could send me some code that may aid me that would be greatly
appreciated.

Feb 7 '06 #3
"PieOPah" <Si**********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I know about the "filter by form" method, but using this you either
have to be on a record with a parameter you want so you can sort by
that entry or, you need to previously know the field you want to filter
on.

If I can manually create the filters to be selected from a drop down
list then this will avoid the complications of spelling mistakes.

If you could send me some code that may aid me that would be greatly
appreciated.


Duly sent.

Regards,
Keith.
Feb 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast,...
4
by: Ken Fine | last post by:
I'm looking to find or create an ASP script that will take a string, examine it for a search term, and if it finds the search term in the string, return the highlighted search term along with the...
3
by: Liz Malcolm | last post by:
Hello and TIA for guidance. I am building a reusable search procedure (thanks go to Graham Thorpe for his example that set me on my way). Everything works up until the 2nd match is found, the...
5
by: pembed2003 | last post by:
Hi all, I need to write a function to search and replace part of a char* passed in to the function. I came up with the following: char* search_and_replace(char* source,char search,char*...
2
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. Is there a way to start, pause and resume a recurrsive search exactly where you left off, say in the registry programmatically? -- Michael Bragg,...
4
by: BenCoo | last post by:
Hello, In a Binary Search Tree I get the error : Object must be of type String if I run the form only with the "Dim bstLidnummer As New BinarySearchTree" it works fine. Thanks for any...
4
by: ravindarjobs | last post by:
hi...... i am using ms access 2003,vb6 i have a form. in that i have 2 buttons 1. start search 2 stop search when i click the "start search" button the fucntion SearchSystem() is called,...
0
by: kang jia | last post by:
hi currently i am doing this search function for car booking website. it can search through either car seats or CarModel. it seems it able to do search function, however i small problem occurs to...
0
by: Atos | last post by:
Binary search is used to locate a value in a sorted list of values. It selects the middle element in the array of sorted values, and compares it with the target value; that is the key we are...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.