Results 1 to 2 of 2
  1. #1
    xtrareal22 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013
    Posts
    27

    Updating problems


    Hello!so I have this stock form with an update button.basically it's a filter so when clicked the name of the stock is typed in so the details can be displayed.at the same time my unbound field is set to visible.in this unbound field a quantity is keyed in and the quantity is added with the data in a field called quantity and outputed in the quantity field.My problem is after this has been done for multiple items the quantity for the item in the stock table shows the updated quantity..but if the item is keyed in my sales form the quantity of the item being displayed is the initial quantity before the update has been made!It is like no change has been made to the quantity of the item at all!any ideas to why this happens and what I should do???

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,602
    This is saving aggregate data and a very poor db design. Stock on hand should be calculated whenever needed. Review http://allenbrowne.com/AppInventory.html

    As for why your arrangement is not working, would have to review db structure and code. If you want to provide, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Tab Problems
    By AdamAA in forum Access
    Replies: 1
    Last Post: 07-30-2012, 09:43 AM
  2. VB has problems
    By tggsun in forum Forms
    Replies: 6
    Last Post: 12-09-2011, 06:07 PM
  3. IIF Problems
    By suverman in forum Queries
    Replies: 3
    Last Post: 05-23-2011, 02:22 AM
  4. Problems with automatic updating
    By teresamichele in forum Access
    Replies: 2
    Last Post: 01-12-2011, 02:39 PM
  5. OLE problems how to fix
    By miziri in forum Access
    Replies: 7
    Last Post: 04-29-2010, 06:18 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