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

print only some reports?!"

Hi all

I'm currently trying to setup an invoicing system, anyone know how I can
choose to only create+print a report for jobs which are not paid for, this a
number field bascially IF paid=cost then no invoice else print invoice?

I hope I've explained that ok :S
Thanx in Advance
Dan
Nov 13 '05 #1
3 1254
Use that as a criteria in the Query that you use as the Reports'
RecordSource.

Larry Linson
Microsoft Access MVP

"Dan Kean" <we*******@sms.uk.ro> wrote in message
news:HA*****************@newsfe1-gui.ntli.net...
Hi all

I'm currently trying to setup an invoicing system, anyone know how I can
choose to only create+print a report for jobs which are not paid for, this a number field bascially IF paid=cost then no invoice else print invoice?

I hope I've explained that ok :S
Thanx in Advance
Dan

Nov 13 '05 #2
Dan Kean wrote:
Hi all

I'm currently trying to setup an invoicing system, anyone know how I can choose to only create+print a report for jobs which are not paid for, this a number field bascially IF paid=cost then no invoice else print invoice?
I hope I've explained that ok :S
Thanx in Advance
Dan


How about using:

Report.Filter = "Nz([paid]) < Nz([cost])"

or

Report.RecordSource = "SELECT * FROM tblJobs WHERE Nz([paid]) <
Nz([cost]);"

Why not use a Currency field for these?

You're welxome a posteriori,
James A. Fortune

Nov 13 '05 #3
Thanx!

I wasn't sure if I was on the right path but I am just using queries wrong

Dan

<ji********@compumarc.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Dan Kean wrote:
Hi all

I'm currently trying to setup an invoicing system, anyone know how I

can
choose to only create+print a report for jobs which are not paid for,

this a
number field bascially IF paid=cost then no invoice else print

invoice?

I hope I've explained that ok :S
Thanx in Advance
Dan


How about using:

Report.Filter = "Nz([paid]) < Nz([cost])"

or

Report.RecordSource = "SELECT * FROM tblJobs WHERE Nz([paid]) <
Nz([cost]);"

Why not use a Currency field for these?

You're welxome a posteriori,
James A. Fortune

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jonathan Smith | last post by:
Hi In order to make it easier for my colleagues to write their school reports I thought I might attempt to write a (simple) program. At the moment I am working mentally through the steps I would...
0
by: Ian | last post by:
(Sorry if I have repeated this, it did not appear the first time) I have the following code on a button. The idea is that when this button is clicked it prints several reports automatically then...
3
by: Chuck Reed | last post by:
I have a MS Access data base that creates custom reports for clients in PDF form then prints the reports after all client's reports have been printed. The problem that I have run into is that when...
1
by: Jason | last post by:
For some reason, most but not all reports printing from an access application our client is using will not print any images on the reports or forms. One report will print the image and data...
2
by: Claudia Fong | last post by:
Hi, I have 4 reports created in Ms-access and I will use VB to print those reports. My problem is I'm not sure if I can control wich report to print.. Those reports are almost the same, what...
7
by: Frank | last post by:
Guys I have got an exe which takes a printername and file(s) as arguments for printing. This is running fine on the local machine (printing to a network printer from the local machine) Can I...
7
by: Robert Adkison | last post by:
I need to print a web page. It is my preference that my users just do a File/Print from explorer. That way my users will get the print dialog that will allow them to select the fax printer. The...
2
by: Rod | last post by:
We've got an old VB6 application which has 9 Crystal Reports it can print. These 9 reports are considered by our users to be in essence one "report", in the sense that they are all related and they...
0
by: EricJudge06 | last post by:
We are converting some reports from Crystal Reports to Microsoft SQL Reporting Services (SSRS) in an ASP 2.0 VB.Net web app. Crystal had a function called PrintToPrinter which was being used to...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.