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

Report with null values

hi
I have created report based on a query that has Payment_Date_Field criteria
set to IsNull. So in the report i get no values for that field. My question
is next: how can I get printed on the report under Payment_Date_Filed_Label
something like "Not paid!"
tnx in advance
J.J.
Nov 13 '05 #1
5 1514
"J.J." <no****@jj.com> wrote in message news:cc**********@ls219.htnet.hr...
hi
I have created report based on a query that has Payment_Date_Field criteria set to IsNull. So in the report i get no values for that field. My question is next: how can I get printed on the report under Payment_Date_Filed_Label something like "Not paid!"


=Nz(Payment_Date_Field , "Not paid!")


Nov 13 '05 #2
Hi J.J,

Try Nz(Payment_Date_Field, "Not Paid!")

Don

"J.J." <no****@jj.com> wrote in message news:cc**********@ls219.htnet.hr...
hi
I have created report based on a query that has Payment_Date_Field criteria set to IsNull. So in the report i get no values for that field. My question is next: how can I get printed on the report under Payment_Date_Filed_Label something like "Not paid!"
tnx in advance
J.J.

Nov 13 '05 #3
On Fri, 2 Jul 2004 00:49:33 +0200, "J.J." <no****@jj.com> wrote:
hi
I have created report based on a query that has Payment_Date_Field criteria
set to IsNull. So in the report i get no values for that field. My question
is next: how can I get printed on the report under Payment_Date_Filed_Label
something like "Not paid!"
tnx in advance
J.J.

Create a label for "Not Paid". Name it lblNotPaid.
In the On Format event of the section the label is on, put code
like...

Me.lblNotPaid.Visible = IsNull(Payment_Date_Field)

- Jim

Nov 13 '05 #4
"J.J." <no****@jj.com> wrote in message news:<cc**********@ls219.htnet.hr>...
hi
I have created report based on a query that has Payment_Date_Field criteria
set to IsNull. So in the report i get no values for that field. My question
is next: how can I get printed on the report under Payment_Date_Filed_Label
something like "Not paid!"
tnx in advance
J.J.


how about creating an expression in your query to do it?

IIF(IsNull([DatePaid]),"Not Paid!",[DatePaid])
Nov 13 '05 #5
thanks a lot
"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf*************************@posting.google.co m...
"J.J." <no****@jj.com> wrote in message

news:<cc**********@ls219.htnet.hr>...
hi
I have created report based on a query that has Payment_Date_Field criteria set to IsNull. So in the report i get no values for that field. My question is next: how can I get printed on the report under Payment_Date_Filed_Label something like "Not paid!"
tnx in advance
J.J.


how about creating an expression in your query to do it?

IIF(IsNull([DatePaid]),"Not Paid!",[DatePaid])

Nov 13 '05 #6

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

Similar topics

2
by: Simone | last post by:
Hello. I am using the code below: ------------------------------------------- Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Section(0).BackColor = vbWhite Then...
3
by: CSDunn | last post by:
Hello, I have a situation with MS Access 2000 in which I need to display report data in spreadsheet orientation (much like a datasheet view for a form). If you think of the report in terms of what...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
0
by: CSDunn | last post by:
Hello, I have a format issue on an Access 2000 ADP report that I am going to attempt to explain from a 'ten thousand foot view' : I have an Access 2000 ADP report that has a SQL Server 2000...
1
by: Megan | last post by:
quick summary: i'm having problems trying to group fields in a report in order to calculate percentages. to calculate percentages, i'm comparing the results from my grouped fields to the totals....
12
by: jkearns | last post by:
Hello, I made a report from a crosstab query following the steps onlined in MSDN's Solutions.mdb example. I now have a dynamic crosstab report (great!), but with one minor problem. I cannot get...
5
by: David L. | last post by:
I'm running into a frustrating problem. ASP.NET 2.0 web application, against SQL'05, I'm trying to run a report against a 'table provider' (query) that excutes well within SQL MGT studio, and...
1
by: Intrepid_Yellow | last post by:
Hi, I have the following code that runs my report generator. The user selects a table from a combo box, then whatever fields they want from a list box. (This part all works and the report runs...
14
ollyb303
by: ollyb303 | last post by:
Hi, I am trying to create a dynamic crosstab report which will display number of calls handled (I work for a call centre) per day grouped by supervisor. I have one crosstab query (Query1) which...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.