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 February 12th, 2007, 05:09 PM
Registered User
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change size of the Detail section of Forms/Report

I have a 2 part question:
1. Is there a way I can change the size of the Detail section of a Form or Report. Currently I can only get the size to abt 22"(Default), and I need to enlarge the detail section to abt 45"
2: Is there a way in a Report to selectively print only fields that have information? Example: I have fields in a Table and Form that are YES/NO answers...these fields also have a Comment/Memo fields associated with them. What I am attempting to do is only print the YES/NO and associated MEMO fields if the MEMO field has data in it; if the MEMO field is blank and no data exist for the specific YES/NO question, then print "NO COMMENTS".
Change size of the Detail section of Forms/Report & selectively print Report fields

Thanks for your help.

 
Old February 13th, 2007, 01:05 PM
Authorized User
 
Join Date: Jan 2006
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
you can change the size of the details section by rigth clicking the details section,and clicking on the properties ,go through the properties u will find the property that has to do with the size,alter it.
another method is by expanding the length of the detail section in the design view of the form or report,

for your second question,on the on load,or open event of the report,try the 2,1 will work.
enter the following code lets assume the field name is (status) then typpe the following code

if isempty(status) then status.visible is false.

try it.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal report Freeze detail section. dpkbahuguna Beginning VB 6 0 August 23rd, 2007 05:29 AM
Shrink Detail section on a report TimLB Access 2 January 23rd, 2007 08:45 AM
Dynamic Detail section sudarshan73 Crystal Reports 1 January 20th, 2006 05:23 PM
Formatting Report Detail Section rickf Access 3 February 3rd, 2004 07:15 PM
Detail Section Height rickf Access VBA 1 January 29th, 2004 07:53 PM





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