Results 1 to 4 of 4
  1. #1
    umusbkraz is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    2

    Data entry expression


    I have a data entry form linked to a table. The table is a log of work orders on the production floor which have been audited by Quality Assurance. I am moving from a paper form with manual entry to direct entry by the QA auditors. To speed data entry we are using a bar code scanner to input most of the data. The bar code/data on the work order cover sheet has the work order quantity + one because they print an extra label as a retention sample. How can I scan the barcode and have the value minus one go into the table, and if possible show on the form as well. For example the work order quantity is 64, but the bar code has a value of 65. There is quite a bit of data in the table already so I do not want anything I do to change what is already there.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,962
    Ideally, would not save aggregate data. Save transaction records then calculate the net balance when needed. Review http://allenbrowne.com/AppInventory.html
    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.

  3. #3
    umusbkraz is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    2
    Sorry, I guess I made the question much more complicated than I wanted. I have a form with a work order quantity field. The bar code scanner reads a number 'X' into the field in the form. I want X-1 to go into the corresponding field in the table.

  4. #4
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    Have the scanner information save "as is" then manipulate it with a calculated field. eg.

    work_order_quantity: scanned_quantity -1

    just out of curiosity, wont the 1 be 2 after the first run? every time there is an extra label this would increase?

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

Similar Threads

  1. Replies: 4
    Last Post: 12-21-2015, 10:57 PM
  2. Replies: 7
    Last Post: 03-05-2015, 07:34 AM
  3. Replies: 5
    Last Post: 03-09-2014, 07:16 PM
  4. how to copy last entry data for new entry
    By alexandervj in forum Access
    Replies: 7
    Last Post: 11-13-2013, 02:57 PM
  5. Replies: 1
    Last Post: 06-27-2013, 09:33 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