Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 12th, 2007, 05:09 PM
Registered User
Join Date: Jan 2007
Location: Seattle, WA, USA.
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.

Reply With Quote
  #2 (permalink)  
Old February 13th, 2007, 01:05 PM
Authorized User
Join Date: Jan 2006
Location: lagos, lagos, Nigeria.
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts

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.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 03:01 AM.

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