My Assistant
![]() ![]() |
|
|
May 26 2006, 12:03 PM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 73 |
Hello All,
...............A bit new on UA and quite thankful to all Access Gurus.. I have a 1500 (and growing) record database in which I have a Search Form to return values based on items selected from drop-downs [or typed field values].. Can anyone PLEASE help... I've found this sooooo hard/impossible to do.. i.e. a range of account numbers.... i.e account falling within a certain date range... Regards and Thanks in Advance!!
Attached File(s)
|
|
|
|
May 26 2006, 12:16 PM
Post
#2
|
|
|
UtterAccess VIP Posts: 4,489 From: NH |
I have an example database with a few different ways to do a search form...as soon as I find it I will post it!
|
|
|
|
May 26 2006, 12:22 PM
Post
#3
|
|
|
UtterAccess VIP Posts: 4,489 From: NH |
Ok I found it! I created two different forms. One that shows you how to do a search using SQL code, and one that uses queries. I personally choose writing SQL code, but some people are more comfortable with queries...it is up to you! If you have any questions please let me know!
Attached File(s)
|
|
|
|
May 26 2006, 12:34 PM
Post
#4
|
|
|
Retired Moderator Posts: 37,716 From: The San Francisco Bay Area |
This article will show you how to search using multiple criteria and is very flexible. The code may look a bit daunting, but it is not that tricky once you get into it.
hth, Jack |
|
|
|
May 26 2006, 06:11 PM
Post
#5
|
|
|
UtterAccess Enthusiast Posts: 73 |
Hi Kirsten,
I'd rather use the code like you. However, is it possible to select more than one field...? I have about 8 fields on the search form.... to search. Thanks again. Regards, M Yansane |
|
|
|
May 26 2006, 06:16 PM
Post
#6
|
|
|
Retired Moderator Posts: 37,716 From: The San Francisco Bay Area |
I am not trying to butt in on Kristen, but I would suggest you take a look at my previous post as the article I suggested does exactly what you want.
With apologies to Kristen.... Jack |
|
|
|
May 26 2006, 07:00 PM
Post
#7
|
|
|
UtterAccess Enthusiast Posts: 73 |
Hi Jack,
Please do not feel as if you were intruding.. your comment and help is quite welcome. In fact I am also looking at the Article.. I am still working my way through the codes as it is a bit daunting... Cheers, A Yansane |
|
|
|
May 26 2006, 07:05 PM
Post
#8
|
|
|
Retired Moderator Posts: 37,716 From: The San Francisco Bay Area |
The code will come together for you, I believe, once you start implementing it. Add your combo boxes to your search form but only add one bit of code for one combo box and when you have that working go on to the next bit. Before you know it you will have it working.... Good luck!!
Jack |
|
|
|
May 26 2006, 07:08 PM
Post
#9
|
|
|
UtterAccess Enthusiast Posts: 73 |
Thanks a Million...I'll start working on that now..
Best, A Yansane |
|
|
|
May 27 2006, 04:02 PM
Post
#10
|
|
|
Retired Moderator Posts: 37,716 From: The San Francisco Bay Area |
You are welcome and good luck!
Jack |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th May 2013 - 05:40 PM |