Results 1 to 4 of 4
  1. #1
    Atlascycle is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    Fremont, NE
    Posts
    61

    After update not running

    I have two combo boxes in a form that contains a sub-form. First Combo box filters the part number list via customer name and then you select a part number to select the record on the main form.


    the form is not requering after the part number is updated. if I open the form in design view and then go back to form view and reselect the part number the requery will work.

    this is the after update code:

    Private Sub cmbSelectCustomer_AfterUpdate()
    Me.cmbSelectPartnumber.Value = Null
    Me.cmbSelectPartnumber.Requery
    End Sub



    Private Sub cmbSelectPartnumber_AfterUpdate()
    Me.Requery
    End Sub

    I will need to trim down the data base to get it to zip and upload.

    thanks for any help you can provide.

    Jason

  2. #2
    Atlascycle is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    Fremont, NE
    Posts
    61
    Attached is the data base in question. the form is frmGoals.

    Thank you,

    Jason
    Attached Files Attached Files
    Last edited by Atlascycle; 11-16-2012 at 02:12 PM. Reason: forgot form name

  3. #3
    Atlascycle is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    Fremont, NE
    Posts
    61
    I have been working out of a copy of the real database and when I imported my forms into the original this morning it seems to work.

    Not sure why.


    Jason

  4. #4
    Atlascycle is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    Fremont, NE
    Posts
    61
    OK I have narrowed it down to when the form is opened off of the switchboard. I had the form set to open in add mode from the switchboard and i changed it to open in edit mode and it is working.


    Jason

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

Similar Threads

  1. Replies: 2
    Last Post: 06-26-2012, 10:31 AM
  2. Running an Update Query from a Macro
    By michaelb in forum Queries
    Replies: 7
    Last Post: 06-02-2011, 09:46 PM
  3. Running an update query
    By markod in forum Queries
    Replies: 3
    Last Post: 11-11-2010, 01:24 PM
  4. Help Automatically running and Update Query
    By JohnRandolphSTL in forum Queries
    Replies: 8
    Last Post: 04-13-2010, 02:08 PM
  5. running a function after update
    By jamin14 in forum Programming
    Replies: 9
    Last Post: 04-06-2010, 09:40 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