Results 1 to 2 of 2
  1. #1
    iggyslair is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    1

    1 form 2 tables w/ combo box

    Hello, I am currently building a calibration database in Access 2007. I am currently building a form that would pull records from 2 tables (Tools,Calibration) into the form. The tool id is the primary key in the tools table which is then related to the tool id in the calibration table in a one to many relationship. I want the user to be able to switch between all the tool id's in the tool table via a combo box and then have the records for that particular id fill in the designated text box fields within the form and then be able to edit or delete as needed. I don't want the user changes to be saved unless they click on a Save button. Currently I have the form's record source set as a query which pulls the tool id column from the tools table and tool owner, calibration date, pass calibration, and notes columns from the Calibration table. The row source for the tool id combo box is the tool id column from the tools table. When I change records in the combo box, the other fields are not updating. Can someone please help me solve the issue I am having. I would greatly appreciate it.

    Thanks!

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Sounds like a case select would work for you. Here is an example; Maybe you can adapt this to your situation and just change the field names.
    Select Case Me.Combo63
    Case "Today"
    Me.Filter = "[nextschddte]=Date()"

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

Similar Threads

  1. Replies: 11
    Last Post: 08-22-2012, 06:34 AM
  2. Replies: 3
    Last Post: 01-30-2012, 09:43 AM
  3. Replies: 2
    Last Post: 01-26-2012, 08:28 AM
  4. Replies: 5
    Last Post: 12-19-2011, 02:53 PM
  5. Update Tables from Combo Boxes in a Form
    By RedWolf3x in forum Access
    Replies: 3
    Last Post: 11-03-2011, 08:07 AM

Tags for this Thread

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