Results 1 to 4 of 4
  1. #1
    m2boost is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2019
    Location
    Hickory, NC
    Posts
    7

    Print labels and update a field on table

    Hi guys,



    What I will like to do is print some labels from my database (already doing this) and when they are printed update that record on the table to be marked as printed on a Yes/No or even a field that say printed.

    Is that possible? I just don't want to print the same label twice by accident.

    Thanks,

    Ernesto

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,537
    I would suggest adding a date field to the record which could be updated with Now() using an Update query each time the print command is run. Using Now() to mark each record might be useful if the print fails for some reason (paper jam, no ink etc)
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    m2boost is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2019
    Location
    Hickory, NC
    Posts
    7
    Quote Originally Posted by Bob Fitz View Post
    I would suggest adding a date field to the record which could be updated with Now() using an Update query each time the print command is run. Using Now() to mark each record might be useful if the print fails for some reason (paper jam, no ink etc)
    Like running the update query from the same click event procedure?

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,537
    Quote Originally Posted by m2boost View Post
    Like running the update query from the same click event procedure?
    YEs. I assume that you click a button to invoke the print. Somewhere in that buttons click event code will be a line that sends the record to the printer. You would run the Update query in the next line of code.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Print only one row of labels
    By Windle in forum Forms
    Replies: 2
    Last Post: 05-10-2019, 09:24 AM
  2. Replies: 2
    Last Post: 03-05-2019, 11:36 PM
  3. Print Labels Without field name.
    By chromachem in forum Programming
    Replies: 1
    Last Post: 02-19-2016, 04:06 PM
  4. Replies: 10
    Last Post: 12-13-2015, 07:23 AM
  5. cannot print labels
    By Diane in forum Database Design
    Replies: 4
    Last Post: 12-29-2005, 08:19 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