Results 1 to 8 of 8
  1. #1
    RoundTrip is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Posts
    28

    Combo boxes and incorporating information from a choose previously choosen

    Alright guys I have a form I am working on which I will post a picture of, I have two inputs you will see in the picture one is Location, and the other is Field Number. Click image for larger version. 

Name:	twodropboxes.png 
Views:	5 
Size:	168.4 KB 
ID:	15620
    I am open for suggestions, but see I have a problem, I want to enter the location and I will use examples below, and when I enter the location I then need to enter the field number. But the problem is this, I might have three locations such as this
    AVille
    BVille


    CVille
    well in each one of those locations, I might have a field that is field number 1 for each field. I need to have some sugesstions on how to do this cause I am stumped, I want to enter location on a dropbox and choose it and perhaps save it just for that location. Does that make sense? Because I cant have four of the same number and you not know what location it goes to, so what should I do? Im confused at this point and didn't think about this till just now :-/ Thanks everyone for advance help!!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Really need more info about data structure.

    Does every location have the same field numbering? Should the FieldNumber combobox just be a list of numbers 1 through whatever? Or maybe just a textbox that restricts entry to numbers between 1 and whatever?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    RoundTrip is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Posts
    28
    No some locations might have a whole different variable numbering if that makes sense, one area might have 2000 fields where as one area or locatio might only have 20 field numbers, all according how big that location is. I thought about doing a combobox with two columns but it seems to not want to work the way I want it to...

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Why doesn't the 2-column combobox work? What happens? Show properties of the combobox:

    ControlSource
    RowSource
    BoundColumn
    ColumnCount
    ColumnWidths

    Do you have a table that associates fields with locations?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    RoundTrip is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Posts
    28
    Well I'm not sure it will work honestly, I just could never get it to edit like my other combo boxes with just a click, and also! I said something about only storing one column of my decision, when i needed both stored, know what I mean :-/ And yes I hsve two tables, one for the locations and one for the field number, should i make it all one table or?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Quote Originally Posted by RoundTrip View Post
    I want to enter location on a dropbox and choose it and perhaps save it just for that location.
    Did you mean "I want to enter field number"?

    If you want to limit the FieldNumbers combobox to only fields associated with selected location, need a table that defines those associations.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    RoundTrip is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2014
    Posts
    28
    Well, I would like to choose the location such as aville, bville etc and if it is not there than enter it on the notinlist edit, and can you explain futher on what you mean, I'm not exactly sure what you mean by that, im not up to date on access lingo sorry :-/

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    I need more info about data structure.

    Nothing I described is particularly Access-specific lingo. It is basic relational database principles.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 02-19-2014, 11:11 AM
  2. Combo box to choose fields
    By Ruegen in forum Forms
    Replies: 2
    Last Post: 12-04-2013, 05:46 PM
  3. Replies: 3
    Last Post: 07-03-2013, 10:38 AM
  4. Replies: 12
    Last Post: 02-01-2013, 02:25 PM
  5. Replies: 4
    Last Post: 09-17-2012, 10:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums