Results 1 to 6 of 6
  1. #1
    AndyC121 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    37

    Auto Updating table and displaying on form

    When I select a supplier on my form "frmCustomer" it shows in supplier lead time and updates tblProductsReceived. why wont unitPrice do the same..where am I going wrong?
    Attached Files Attached Files

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    the query that does the update must include Price as well.

  3. #3
    AndyC121 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    37
    ?..not following sorry. Query or the code and which query?

  4. #4
    AndyC121 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    37
    Tried the query linked to the form and changed the column no in the code but nothing seems to work.

  5. #5
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The column numbers are incorrect in the cboProduct_AfterUpdate code. Column numbers begin with 0, so unit price would be column 3.

  6. #6
    AndyC121 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    37
    I tried column (3) but it still didn't work correctly?

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

Similar Threads

  1. How to stop a form from auto updating table
    By pardhu81 in forum Forms
    Replies: 6
    Last Post: 05-09-2017, 09:43 AM
  2. Replies: 11
    Last Post: 06-06-2014, 01:17 PM
  3. Auto-updating a web-form. Please help
    By dipo+ in forum Programming
    Replies: 0
    Last Post: 01-21-2012, 06:21 PM
  4. Replies: 0
    Last Post: 03-27-2011, 02:05 PM
  5. Auto updating table
    By forrestapi in forum Forms
    Replies: 1
    Last Post: 08-16-2010, 11:06 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