Results 1 to 3 of 3
  1. #1
    baseball2012 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    2

    Resetting Query but not Table Question

    Hello, I have a possibly hard or easy problem that needs a solution. I've attached an example database to help explain my situation.

    In the "Order Entry" table, a certain part # will be added with a quantity and a due date. Once the part # is shipped, the checkbox will fill in.

    What I want to do, is create a way to accumulate the quantity ordered for each part# once it has shipped, and have a user be able to open a report saying which part #'s have over 50,000 shots. To determine shots, the order quantity will be divided by the cavities in the "List" table. I imagine that will be done in a query.

    I created the "tbleShotCount" as a way I was thinking to store the shot count information. Once it gets above the 'CleaningDue', the 'NeedsClean' box will be automatically checked off and the part# will show up in a report.

    Once the user has cleaned the part#, the user will click something and the shot count in the "tblShotCount" will be reset to 0 and the process will be repeated. The "Order Entry" table can not be modified or the information changed throughout this whole process.

    My biggest problem was figuring out a way to reset the shot count without effecting the "Order Entry" table.

    Help would be appreciated, thank you!



    ExampleDatabase.zip

  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,847
    You should realize that we only know what you tell us. I have no idea what you are trying to do. Shot count, cleaning... it's all jargon.Can you step back and tell us n 4 or 5 sentences WHAT you are trying to do in plain English.
    What is your environment, what business are you in.....

  3. #3
    baseball2012 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    2
    I'm sorry for the confusion. I've made some progress towards my goal, so I think I can explain it in more simpler terms now.

    I've reattached my modified database for reference.

    If you open "frmCleaningSheetTemp" and choose a part# from the drop down list and check off the 'level 2 pm' box, then in "tblShotCount", whatever part# you chose 'order quantity' will go to 0. (After you update it using 'qryShotCount").

    When a new order is entered into "Order Entry", I want the 'order quantity' field in tblShotCount to continue adding order quantity amounts after the date of which that check box was checked originally.

    Basically, without being specific, once a field gets zeroed out, I want that field to start adding numbers again after the point of zeroing (use date and time?) automatically.

    Right now it just stays at 0 regardless if I enter in a new order quantity in "order entry" or not.
    Attached Files Attached Files

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

Similar Threads

  1. Code For Resetting to Default Value
    By batowl in forum Forms
    Replies: 4
    Last Post: 03-14-2012, 02:54 PM
  2. Make Table Query Question
    By worldwidewall in forum Access
    Replies: 4
    Last Post: 02-09-2012, 07:53 AM
  3. Resetting Record Source on Form
    By Cheshire101 in forum Programming
    Replies: 5
    Last Post: 05-05-2011, 08:52 AM
  4. Resetting Option Group Values
    By oleBucky in forum Forms
    Replies: 4
    Last Post: 03-31-2011, 05:19 PM
  5. Resetting autonumber when importing
    By bullwinkle55423 in forum Access
    Replies: 3
    Last Post: 06-30-2009, 11:56 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