473,320 Members | 1,872 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,320 software developers and data experts.

printing reports

lee123
556 512MB
hey all, is it possible to print out an invoice when the date reaches the due date
automatically. because on my form i have a field called (todaysdate) and a field called (duedate) in my orderform. how would i accomplish this. any idea's.

lee123
Sep 24 '07 #1
2 1168
ADezii
8,834 Expert 8TB
hey all, is it possible to print out an invoice when the date reaches the due date
automatically. because on my form i have a field called (todaysdate) and a field called (duedate) in my orderform. how would i accomplish this. any idea's.

lee123
Place the following code in the Current() Event of your Form. For every Record that you Navigate through the Form, if TodaysDate = DueDate then rptInvoice will be printed. There are a lot of other variables involved, but you gave me limited information to work with.
Sep 24 '07 #2
lee123
556 512MB
ok all i want is to print the invoices that are do when the todaysdate = the duedate but when i put the code behind the on current event in the properties
nothing happens. there is a problem how do i use the "printout" in the "docmd"
basically i want it to print out the invoices that are due on the duedate when i start the database up. so how would i do the code like this?:

Expand|Select|Wrap|Line Numbers
  1. if todaysdate = duedate then
  2.    docmd.printout( this is where im lost)
  3. end if
all of the orders that i have orderid's and customerid's so if i had orders that the duedates was today how would i get it to print all that was due today in an "IF" statement do i put the (orderID) in with the code too.

lee123

P.S
this is hard to explain when you can't show the person you ask.
Sep 25 '07 #3

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

Similar topics

16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
3
by: Chrisitiaan | last post by:
Hi, I want to develop a 'truly' object oriented application, that is, my business logic objects handle the business logic (of course) and the persistence to a MS SQL server database. The user...
0
by: Ann | last post by:
I have a C# application that uses PrintDocument and PrintPage to draw reports. Now I need to integrate a tax form printing from a legacy VC++ DLL into the C# application. One of the important...
0
by: Nigel | last post by:
I successfully create a .NET Component (Visual Basic .NET) that would print, unfortunately when used within a web browser it appears that .NET security doesn't allow you to run code that interacts...
2
by: mark | last post by:
I have one page with a series of reports to be printed like :- (bear with me ill try to explain the best i can!) report one - checkbox1 report two - checkbox2 report three - checkbox3 and...
2
by: Vinayaka | last post by:
I am using ASP.Net and .net 1.1 I have created some web based report which will be displayed in ASPX page and user has to select the browser File Print to take print outs. Requirement for all...
4
by: Russ | last post by:
To ASP.NET printing experts: My Asp.net web form needs to print some reports at the client side. I've been trying to research this and find some confusing and conflicting information in previous...
1
by: Dreamtime | last post by:
Hi I am using Visual Studio 2005 and the bundled Crystal Reports (previously I used .net 2003 and bundled Crystal Reports for 2 years - same issues!) I have a report which is displayed in the...
0
by: aleemkhan | last post by:
I am using SQL Server 2005 Local Reports for a web based project. The problem is that the ASP.NET default Web Report Viewer does not have print facility for Local Reports. When the report is...
0
by: John Smith | last post by:
Hello, I have 7 different crystal reports that need to be collated. Since I want to end up with a page of each (which all together make a single report), I created a blank main report and then...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.