Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Zachary;
    Since you are only using the forms to look up the values in the tables, there is no need to bind the controls to the fields in the tables. An unbound form will do what you want so long as you create a query to look up the value you are wanting. In your db, I created a new form for Angles. It is unbound. I created a combo box but did not use the wizard. The source of the combo box is the table Angles. You can see this query if you open the form in design view, click on properties, data and look at the row source. You will note that I included all fields from the table. This is because you will need this information when you go to populate the specific characteristics of each type of product.



    Next I created a control for each characteristic as you have done. Again these are unbound. In each of these controls I put an expression for it to populate it with the value from the query. Columns are numbered beginning with zero, so the size1 control would take its value from the third column but identified as column(2). Next in the after update event for the combo box, I put this code: me.requery. This tells Access to rerun the query when ever there is a change in the value to the combo box. Look this over. You will need to follow this procedure for all your forms to get what you are looking for.

    BTW, it is not a good idea to update tables directly. You may want to develop some input form (or use the ones you have and delete the combo box) and create new search forms. Post back with any questions you may have. Attached is your db with only the Angle table and form included to keep it to an uploadable size.
    Attached Files Attached Files

  2. #17
    ZLHysong is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    21
    Thank you, This makes sense and I understand what you mean now.

    I will Mark this Thread as solved.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. change heading in data sheet view
    By sharad.rt in forum Forms
    Replies: 4
    Last Post: 07-21-2012, 12:54 PM
  2. record update when I change view
    By mdpepper1 in forum Forms
    Replies: 1
    Last Post: 11-02-2011, 07:50 AM
  3. How to change default view at launch?
    By seawulf in forum Access
    Replies: 3
    Last Post: 09-04-2011, 12:57 PM
  4. Change row-colors i subform datasheet view
    By rolfmagne in forum Forms
    Replies: 1
    Last Post: 03-02-2011, 11:07 AM
  5. Change right mouse menu in Design View ?
    By byterbit in forum Access
    Replies: 1
    Last Post: 02-03-2011, 11:29 PM

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