dbTalk Databases Forums  

print a control based on a criteria

comp.database.ms-access comp.database.ms-access


Discuss print a control based on a criteria in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Helen Martin
 
Posts: n/a

Default print a control based on a criteria - 03-12-2005 , 02:46 PM






hi there.. I want to print a control on a report, based on the criteria of
whether the value in the control is null or not...

My hunch is that I have to manipulate the Visible property.. and I think I
need a criteria that looks something like
Visible = 0 if [RptOneTable]![Prepaid] isnull

but I can't figure out where to put this criteria.. the visible property
seems to only accept yes and no, (0 and -1 I assume)...

I think I'm close but can't quite sort it out..

with thanks
Helen in Canada
--------------
hrmartin (AT) axion (DOT) net Nanaimo, BC Vancouver Island Canada


Reply With Quote
  #2  
Old   
Ken Snell
 
Posts: n/a

Default Re: print a control based on a criteria - 03-12-2005 , 03:25 PM






Set the Can Shrink property of the control to Yes. Then if the control's
value is Null, it will not print on the report.

--

Ken Snell
<MS ACCESS MVP>


"Helen Martin" <hrmartin (AT) nospam (DOT) axion.net> wrote

Quote:
hi there.. I want to print a control on a report, based on the criteria
of
whether the value in the control is null or not...

My hunch is that I have to manipulate the Visible property.. and I think I
need a criteria that looks something like
Visible = 0 if [RptOneTable]![Prepaid] isnull

but I can't figure out where to put this criteria.. the visible property
seems to only accept yes and no, (0 and -1 I assume)...

I think I'm close but can't quite sort it out..

with thanks
Helen in Canada
--------------
hrmartin (AT) axion (DOT) net Nanaimo, BC Vancouver Island Canada




Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.