Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 10th, 2004, 11:27 PM
Authorized User
 
Join Date: Aug 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default need help in ms access report...

Hi..everyone..

I have a database table for club members.E.g.:

No. Name Birthdate Payment
1 Liza 20-06-76 10.00
2 Muthu 13-01-70 0.00
3 Meng 02-12-69 30.00
4 David 28-07-65 0.00
Default value for payment = 0

Questions:
1)When I run a report using this table,I don't it shows the figure '0.00' or '0' if there are no payment. Just leave a column blank.
2) Every 1st of month my database will run a report automatically.Is it possible????


Thanks
 
Old June 11th, 2004, 04:31 PM
Authorized User
 
Join Date: May 2004
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Some quick and dirty, untested thoughts:

How about something in the Report Detail section? something like this:
==========================
On Format Event:

If TextBox=0 then Textbox.visible = no.
or
If TextBox=0 then Textbox.Font Color = background color.
======================
Or consider this:
Instead of displaying the payment field, display an unbound field (paymentshadow)with a formula that copies the value of the payment field, unless it is a zero. In that case, make it a null value which should not display.

IIf(Payment=0,@Null,Payment)

You could do this at a query level so that if you have multiple reports based on the same query, you only need to make this field once.
========================================
 
Old June 13th, 2004, 07:05 PM
Authorized User
 
Join Date: Aug 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Bob ...I will try it!!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass parameters to MS Access report murtazasif Access VBA 1 November 2nd, 2007 06:42 AM
Convert Ms Access report to MS Word doc kite Access 1 October 22nd, 2007 01:45 AM
generating report using MS Access shazia1 VS.NET 2002/2003 1 June 15th, 2006 05:05 AM
viewing MS Access report from VB 6.0 jthadathilm16 Pro VB Databases 1 May 4th, 2006 08:15 PM
Import a report from MS Access Ilya Crystal Reports 0 March 1st, 2005 05:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.