+ Reply to Thread
Results 1 to 6 of 6

Solved: Database search returns the same values for all parts chosen

  1. #1
    Registered User
    Join Date
    05-15-2015
    Location
    Portland, OR
    MS-Off Ver
    2013
    Posts
    4

    Question Solved: Database search returns the same values for all parts chosen

    Hello all!

    So, I've never really used VBA before but figured I'd try my hand at creating a database for work and used some websites and Youtube videos to guide me to create the tool. However, I'm having an issue where all parts that are searched return the same values. When opening the file, the user is given buttons to choose from. Right now the only two buttons are Infeed Conveyor Parts and Exit. When choosing Infeed Conveyor Parts, the user is then able to search for a part by description to get details on that part as well as the Oracle number and quantity needed. However, the way that I have this set up I can only get the values for Conveyor Length to return. (This happens regardless of what I choose.)

    Any guidance would be appreciated!

    Edit: I apologize for the not following rule #1. Thank you for pointing it out to me protonLeah. Hopefully I've fixed it sufficiently.
    Attached Files Attached Files
    Last edited by Mbierce; 11-13-2015 at 09:13 PM. Reason: Forum rules fix

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,665

    Re: Simple database - Issues with coding

    title updated
    Last edited by protonLeah; 11-13-2015 at 05:45 PM.
    Ben Van Johnson

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,519

    Re: Simple database - Issues with coding

    Hi,

    Could you explain a little about what you want it to do if it's working properly?

    If you click on "New" you want to add entered details to the bottom of the list?

    What if you're searching for an item and there are more than one in the list? "Return Roller Cat Roller (Bolts)" for example is in there twice, so what happens in that situation?

    BSB

  4. #4
    Registered User
    Join Date
    05-15-2015
    Location
    Portland, OR
    MS-Off Ver
    2013
    Posts
    4

    Re: Simple database - Issues with coding

    Hello all,

    I think I've fixed the rule violation and posted the subject line accordingly.

    BadlySpelledBuoy, thank you for pointing out that items are listed multiple times. I didn't catch that before and am have changed this on my end. It did not change the search issue though.

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,665

    Re: Database search returns the same values for all parts chosen

    Please Login or Register  to view this content.
    Last edited by protonLeah; 11-13-2015 at 10:34 PM.

  6. #6
    Registered User
    Join Date
    05-15-2015
    Location
    Portland, OR
    MS-Off Ver
    2013
    Posts
    4

    Solved: Database search returns the same values for all parts chosen

    Thank you for your help! This solved the issue.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Issues with VBA Coding and Dependent Combo Boxes
    By Stlcards13 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-16-2015, 03:18 PM
  2. [SOLVED] Simple If Then Else Coding
    By Adam Schaefer in forum Excel General
    Replies: 2
    Last Post: 12-12-2014, 01:18 PM
  3. Runtime Error 9: Subscript out of Range But no Coding Issues...
    By pillsbury44 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-09-2012, 01:26 PM
  4. some simple coding help needed
    By PatSabre12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2011, 12:53 PM
  5. issues with coding problem
    By parteegolfer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2006, 04:29 PM
  6. [SOLVED] Simple coding in Excel
    By craigs in forum Excel General
    Replies: 1
    Last Post: 01-17-2006, 02:55 PM
  7. Posting data from a simple form to a simple database
    By clacka in forum Excel General
    Replies: 0
    Last Post: 01-30-2005, 04:37 PM

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