Results 1 to 3 of 3
  1. #1
    graviz is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    48

    Help Please- Linking a Table to Text Boxes

    Here is what I have:

    A Form called "Main"
    A Combo Box called "cboOffice"
    On the form 4 text boxes:
    "txtFSS1"
    "txtFSS2"
    "txtFSS3"
    "txtFSS4"

    I also have a table called "Point_Lookup"
    It has 3 fields in it:
    Office_Name: Which has the same values as the combo box on the form
    Tech_Level: Which I would like to match up with each of the text boxes. (i.e. Tech level 1 = FSS1)
    Points: Each tech level has a certain number of points.

    So basically in the table each office has 4 rows (1 for each tech level/points)



    Example:
    Office_Name Tech_Level Points
    Office A FSS1 50
    Office A FSS2 60
    Office A FSS3 70
    Office A FSS4 80

    So what I'm trying to do if when someone selects an office from the combo box I would like all of the text boxes to fill out with their appropriate points levels based on the table.

  2. #2
    graviz is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    48
    Tried the DLookup and no luck with it.

  3. #3
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    From your description, is seems you are trying to get the form to display four records from the table simultaneously. This is not a natural way to get a table and form to interact.

    Two solutions:

    Either change the structure of "Point_Lookup" to match the form, such:

    "Tech_Level"
    "txtFSS1"
    "txtFSS2"
    "txtFSS3"
    "txtFSS4"

    Or build a parent table for "Office_Name" and add a subform in "Main" to record "Tech_Level".

    Cheers,

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

Similar Threads

  1. Table linking
    By emccalment in forum Access
    Replies: 7
    Last Post: 01-28-2010, 03:51 PM
  2. help with totals for count text boxes
    By gacapp in forum Reports
    Replies: 10
    Last Post: 07-22-2009, 11:26 AM
  3. Creating Report using Text boxes & db fields
    By Nancy J. in forum Reports
    Replies: 13
    Last Post: 07-20-2009, 07:09 AM
  4. joining text in text boxes
    By jjwilliams73 in forum Forms
    Replies: 1
    Last Post: 08-26-2008, 02:30 PM
  5. bounding text boxes
    By nosirrah69 in forum Database Design
    Replies: 2
    Last Post: 02-23-2006, 08:35 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