Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 14th, 2004, 09:01 PM
unicorn83 unicorn83 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 unicorn83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need help in MS Access Search

Hello Everyone,
I need help in MS Access searching,
I need to do something similar to the searching in this link :
http://www.careersearchassoc.com/csearch.asp

I don't need to post my database on the web, I just want my database to search in the way this web is showing, can search multi field for the result.

anyone can help me?

Thanks.

Reply With Quote
  #2  
Old January 15th, 2004, 07:56 AM
dsomers dsomers is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Winston-Salem, NC
Posts: 198 dsomers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Yeah, you can view their source.

Later,
David Somers

Reply With Quote
  #3  
Old January 19th, 2004, 12:07 AM
unicorn83 unicorn83 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 unicorn83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I think u don't understand what I mean.
I'm not creating web.
I want to do searching functions that is similar to the web and is on ms access.

so can u tell me how to view their source and do it into
MS Access format?

Thanks.

Reply With Quote
  #4  
Old January 21st, 2004, 04:08 AM
ILOVEACCESS ILOVEACCESS is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: SAUDI ARABIA
Posts: 9 ILOVEACCESS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yes you can, all you have to do is the following:
1) Decide how many fields you want to start your search with.

2) build a query with let say whatever number of fields you want to display.
3) create a new fomr with two sections the upper is heading the lower is detail or searching result.

now, for example, let say you want to search for all vehicles with year make 2000 and price is greater than $12000 and color is black.
in the new form you create unbound fields, the first says "Vehicle Make" .......
the second "Price"........
the third "Color"......
then in the query under each related field you put = forms![your new form name]!vehicle make
and the same think with the others.
create push bottun to execute the query then you will see the search result in the lower section of your form.
the lower section should be a subform based on the result of your query.

Reply With Quote
  #5  
Old January 26th, 2004, 07:51 PM
unicorn83 unicorn83 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 unicorn83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I still not understand it.
Can you please explain step by step
how it is done?

Thanks.

Reply With Quote
  #6  
Old January 27th, 2004, 04:47 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
First create a Form the lists that has a text box that holds all the criteria that you wish to search for.

Second decide if you want the users to enter a * when they want everyting in that category. If you don't then you need to duplicate all the textboxes that you have, make them so that they are not visible, default all of them to load with a * in them. Then write code in each of the orginal textboxes that executes in the after_Update event. The code will check to see if you have entered anything in teh text box, if you have it will transfer this info to the secondary text box, if it is now empty or blank, you will transfer a * to the secondary text box.


Third You will create a query the lists all the information you wish to display for the search, then in the criteria portion you will enter like[Forms]![FormName]![TextBoxName] (change the last two to match your system). The like allows you to use wildcard charcters (for instance * which means anything).

The on your form you will create a command button that will open the query or the report you have tied to the underlying query, when you click it.

Good Luck

S-

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > need help in MS Access Search


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway