473,385 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Print records that have not been printed yet

54
I have a table called "unload" which people are constantly adding records too from a form throughout the day. I created a button to print the records from a query called "unload query". I want it to only print records that have not yet printed, but as of right now it prints all of the records. Any help is much appreciated. Thanks!
Jul 13 '12 #1
2 1468
zmbd
5,501 Expert Mod 4TB
There are several ways to handle this... I use a batch table approach so that I can reprint a batch of records incase the printer eats them and I also have a record of when the records were printed. The solution just depends on what you're after in the long run.
-z
Jul 14 '12 #2
Mihail
759 512MB
Or you can define a new field in the table: say... "IsPrinted" (Yes/No type) with "No" as default value.
Then, any time you print a record (or a set of records), change "No" to "Yes" for that record(s).

Of course you can design even a better query to show only records with "No" in the IsPrinted field.

Of course you can imagine other ways.
As example the IsPrinted field can be as type Date/Time with Null as default value.
The query will show only records with Null in IsPrinted field.
Other queries can show the records that are already printed between StartDate and EndDate.

And so on.

Cheers !
Jul 14 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: MLH | last post by:
I have a challenge... In a table I call tblStuff4Letters with 3 fields: , and . I have a report called rptOutboundCorrespondence that feeds off this table. Sorting & grouping is turned on in...
3
by: DD | last post by:
I have frmMain and fsub you choose a month from the ChooseMonth combo and all the records for that month are nopw visible in the fsub I know print with the following Where and only recieve the...
24
by: Rhino | last post by:
I am dabbling with print CSS for the first time and I need some guidance. The web pages on my site look fine - to my untrained eye - when displayed on the monitor in any of the standard browsers....
0
by: jpr | last post by:
Hello, I have a problem with my database and need some help. My database has a main menu named MENU which allows to access all the different forms of the program I am trying to develop. One of...
3
hussaini
by: hussaini | last post by:
Hello dear i want to make a button when i press the button then print command i meant i want to print records like i make a button in datagrid ok where i press the print button then the datagrid...
1
by: Jerim79 | last post by:
We have a database with a javascript frontend. This front end allows us to view and print records. We are looking for the "most efficient" way to print. I know there is a print() function, but is...
1
by: stalinkakinada | last post by:
I want to take printouts of 20000 records cards in which I need to print boths side. I prepared 2 forms(same table field are in 2 forms) each page gets 8 records . I printed one side , but when I...
14
by: David | last post by:
Hi, I have a form on which a user can select a checkbox against a record. Each checkbox carries the RecordID of a product. ---------------------------------------------------------------- I...
11
by: Gord | last post by:
When I open a certain report, it runs some code that generates the records that will be displayed in that report. This works fine. When I go to print preview the report it appears that the code...
3
by: Tyler2 | last post by:
Hi i am using access 2002 sp3, I am developing a training database for a dairy company and I need to be able to schedule up and coming courses. All the data is entered into a schedule form and I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.