Results 1 to 2 of 2
  1. #1
    lucy1216 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2010
    Posts
    10

    Combo Boxes on Forms

    Let me say that I am not exactly a novice, but nonetheless a beginner.
    I had this working in Access 2007 on a singular form, but it is no longer working in Access 2010; however now I am using a tabbed form.
    What I am trying to accomplish is to autopopulate a combo box based on a value of another combo box on an unbound form.
    ComboBox1:
    Row Source: SELECT tblApprovers.[Level 1Approver] FROM tblApprovers WHERE (((tblApprovers.Status)="A")) ORDER BY tblApprovers.[Level 1Approver];
    This box is so that an approver can select their name.

    ComboBox2: I want this box to autopopulate the total amount due based on the value of ComboBox1.
    Row Source: SELECT Sum(qryATT_frmTotals.[SumOfTotal Current Charges]) AS [SumOfSumOfTotal Current Charges] FROM qryATT_frmTotals WHERE (((qryATT_frmTotals.[Level 1Approver])=[Forms]![Form1]![Approver]));


    Thanks in advance.

    1st Issue: I am getting a parameter when entering ComboBox2.


    2nd Issue: I want the form to refresh (requery) for results based on ComboBox1 when it’s value changes. I know this should be an AfterUpdate request; however, I am not sure which ComboBox to put the code in; and the code that I am tried is not working.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Here are free video tutorials on Cascading Combo. Shows where the requery goes etc.
    http://www.datapigtechnologies.com/f...combobox1.html
    http://www.datapigtechnologies.com/f...combobox2.html


    Your parameter may indicate a spelling mistake.

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

Similar Threads

  1. Replies: 9
    Last Post: 06-04-2014, 10:45 AM
  2. Replies: 17
    Last Post: 03-15-2013, 02:30 PM
  3. Replies: 3
    Last Post: 03-01-2013, 05:36 PM
  4. cascade combo boxes in continous forms
    By storm1954 in forum Forms
    Replies: 3
    Last Post: 05-10-2012, 06:00 AM
  5. cascading combo boxes on Continuous Forms
    By Jerry8989 in forum Forms
    Replies: 0
    Last Post: 10-12-2009, 10:02 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