Results 1 to 3 of 3
  1. #1
    Grizz2 is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    7

    Cool Requery

    I have 2 combo boxes in a form: PAC Type and PAC Description. The list of PAC descriptions is determined by the PAC Type selected.

    I have an event procedure set up in the PAC Type field:
    cmbPac_type_AfterUpdate()
    cmbPacCode.Requery

    My problem is this: Once my PAC Type and PAC Description have been selected and I want to add the next PAC Type and Description, the PAC Description for the prior record is no longer visible. It is stored but not visible. The only time it is visible is when I select the same PAC Type.



    What am I missing?

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    Not sure I understand the question; but in general - I see you requerying just 1 combobox but discussing 2 comboboxes. Are you needing to requery them both? Possibly it is as simple as that.

    Not sure this helps.

  3. #3
    Grizz2 is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    7
    Here is an example which hopefully is helpful:

    I select "Credit" as the first PAC Type. Then I move to the next field (PAC Description) where a drop down lists all the descriptions with a PAC Type of "Credit".

    Now I want to add another PAC Type. This time I select "Payment" as my PAC Type. Then I move to the PAC Description field where a drop down lists all the descriptions with a PAC Type of "Payment". When I click on the PAC Description field to get the drop down list, the PAC Description from my first record is no longer visible (although it is stored).

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

Similar Threads

  1. Requery without losing focus?
    By Axeia in forum Programming
    Replies: 3
    Last Post: 05-11-2011, 04:53 PM
  2. Replies: 1
    Last Post: 03-13-2011, 02:29 PM
  3. Requery fails
    By Dega in forum Forms
    Replies: 3
    Last Post: 09-28-2010, 08:35 AM
  4. Requery?
    By CO711 in forum Forms
    Replies: 0
    Last Post: 08-06-2008, 08:03 AM
  5. Drop down box requery problem
    By Nicholas in forum Forms
    Replies: 1
    Last Post: 08-11-2006, 11:42 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