+ Reply to Thread
Results 1 to 7 of 7

Search Database

  1. #1
    Registered User
    Join Date
    04-01-2008
    Posts
    54

    Search Database

    Hi ,

    I would like someone to help me out with the Below request.

    I have a spreadsheet which has two tabs Search and Database.

    Search tab has two combo boxes and a seach button.

    Database tab is used to for building up databse.

    My query is when I select Country and Supplier and click the button the details requested should be displayed below in search tab and if try to do a new search the previous results should be over written with new results.

    I am uploading a copy of this
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Search Database

    Take a look at the databaseform here

    http://www.excel-it.com/

    Yo can adapt the code for the search button for what you want
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    04-01-2008
    Posts
    54

    Re: Search Database

    thanks for the response but i am not able to access that website

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Search Database

    The link's fine, this is a direct link to the downloads page

    http://www.excel-it.com/vba_examples.htm

  5. #5
    Registered User
    Join Date
    04-01-2008
    Posts
    54

    Re: Search Database

    Roy

    I am able to download the Example file but that File is helpful to save the data using a macro but my query is to display the data from the database when the macro is executed using the search criteria

  6. #6
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: Search Database

    Hi
    Enter the country in G6 cell and supplier in G8 of search sheet and click search button.Check the result sheet. It clears earlier result(I could not get the correct syntax to get value from the shape combobox.So I have used the cell itself)
    RAvi
    Attached Files Attached Files

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Search Database

    The example has a search routine

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1