473,385 Members | 1,844 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,385 software developers and data experts.

Search

173 100+
Hi,

ive got 50% of the search engine working.................

i have a textbox and a bigger textbox underneath it. The bigger textbox shows 3 fields (provider, site, tel with the rest hidden) from my records,linked to my Query1

Query1 contains provider, site, postcode, tel etc etc

In my first textbox i can search by typing in the provider or site and it lists the appropriate details in the bigger textbox underneath it...........

i also have a reset button which i can click and it resets the bigger textbox and fills it with all the records..................

i need CODE and help............

underneath all this i want to have a form which fills automatically when i click the provider or site or tel in the bigger textbox.............? how do i do this...HELP

so if i click the provider, site or tel, it will bring up the rest of the details in the form below it!!!???????????
Dec 19 '06 #1
3 1287
Beany
173 100+
any1 have an idea?

thanks
Dec 20 '06 #2
willakawill
1,646 1GB
any1 have an idea?

thanks
Hi describing your code is not nearly as efficient as posting it. A picture paints a thousand words :)
Dec 20 '06 #3
Beany
173 100+
Hi describing your code is not nearly as efficient as posting it. A picture paints a thousand words :)

Ok, heres the picture :) :

The code for the search textbox is:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Search_Change()
  2.  
  3. Dim vSearchString As String
  4.  
  5.  vSearchString = Search.Text
  6.  Search2.Value = vSearchString
  7.  Me.QuickSearch.Requery
  8.  
  9. End Sub
The code for the reset button is:

Expand|Select|Wrap|Line Numbers
  1. Private Sub ClearIt_Click()
  2. On Error GoTo Err_ClearIt
  3.  
  4. Me.Search = ""
  5.  Me.Search2 = ""
  6.   Me.QuickSearch.Requery
  7.    Me.QuickSearch.SetFocus
  8.  
  9. Exit_ClearIt_Click:
  10.     Exit Sub
  11.  
  12. Err_ClearIt:
  13.     MsgBox Err.Description
  14.     Resume Exit_ClearIt_Click
  15.  
  16. End Sub

I have a listbox named QuickSearch. This lists all the records:

Expand|Select|Wrap|Line Numbers
  1. its row source = Query1
Dec 20 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: R. Rajesh Jeba Anbiah | last post by:
Q: Is PHP search engine friendly? Q: Will search engine spiders crawl my PHP pages? A: Spiders should crawl anything provided they're accessible. Since, nowadays most of the websites are been...
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,...
5
by: George | last post by:
Hi, Anyone has the background for explaining? I have made a search on my name and I have got a link to another search engine. The link's title was the search phrase for the other search engine...
3
by: Alastair | last post by:
Hello guys, I've been building a search facility for an intranet site I'm part of developing and we've been building a search engine using Index Server. It mostly works, however there have been...
39
by: Noticedtrends | last post by:
Can inference search-engines narrow-down the number of often irrelevant results, by using specific keywords; for the purpose of discerning emerging social & business trends? For example, if...
22
by: Phlip | last post by:
C++ers: Here's an open ended STL question. What's the smarmiest most templated way to use <string>, <algorithms> etc. to turn this: " able search baker search charlie " into this: " able...
28
by: joshc | last post by:
If I have an array of data that I know to be sorted in increasing order, and the array is less than 50 elements, and I want to find the first element greater than a certain value, is a simple...
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...
1
Merlin1857
by: Merlin1857 | last post by:
How to search multiple fields using ASP A major issue for me when I first started writing in VB Script was constructing the ability to search a table using multiple field input from a form and...
0
by: passion | last post by:
"Specialized Search Engines" along with Google Search Capability (2 in 1): http://specialized-search-engines.blogspot.com/ Billions of websites are available on the web and plenty of extremely...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.