dbTalk Databases Forums  

How to set report object invisible

comp.databases.paradox comp.databases.paradox


Discuss How to set report object invisible in the comp.databases.paradox forum.



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

Default How to set report object invisible - 08-25-2006 , 08:54 PM






Howdy.
Have a report that in addition to a table frame containing the active
records it also contains another table frame within a box containing
the inactive records. The tables are linked via the data model.

If there are no inactive records, the table frame is not displayed.
However, the text box containing the box's title, e.g. Inactive
accounts with balances and totals text box are displayed. The box has
no property allowing me to delete if empty, etc. Nor are there any
events available other than report open and close.

How can I make the box invisible if inactive record count is 0 similar
to a form where a frame can be made visible so as to "hide" the objects
behind it? I could also be too close to the problem and not see a
workaround/solution.

Thanks in advance,
Rey


Reply With Quote
  #2  
Old   
Dennis Santoro
 
Posts: n/a

Default Re: How to set report object invisible - 08-26-2006 , 10:05 AM






Try making it a calculated field with an iif instead.

Denn Santoro
President
Resource Development Associates
http://www.RDAWorldWide.Com
Offices in the United States and Germany
Providing solutions to health care, business, governments and non-profits
since 1982



Reply With Quote
  #3  
Old   
Rey
 
Posts: n/a

Default Re: How to set report object invisible - 08-28-2006 , 01:03 PM



Howdy, Dennis.
Thanks for the suggestion.
Added this to the box and now it "explains" why there is no data in the
box. I'd tried doing a nested IIF inside the name formula but it wasn't
working.

Got to remember to step back, take a walk/do something else and then
return to the issue 8-)

Thanks again,
Rey


Reply With Quote
  #4  
Old   
Jim Moseley
 
Posts: n/a

Default Re: How to set report object invisible - 08-28-2006 , 03:51 PM




"Rey" <reycollazo (AT) cox (DOT) net> wrote:
Quote:
Added this to the box and now it "explains" why there is no data in the
box.
Rey,

If you changet your box's title from a Text object to an Calculated Field
object, you can probably get the entire box to disappear. No point having
'this space intentionally blank' (unless you are IBM).

Delete the current title, and add a Field that has a calculated field that
returns a blank value if there are no records to show.

Thanks,
Jim Moseley


Reply With Quote
  #5  
Old   
Rey
 
Posts: n/a

Default Re: How to set report object invisible - 08-28-2006 , 04:56 PM



Howdy, Jim.
Thanks for the suggestion.

This is what I initially thought Dennis had suggested - but hadn't
tried - as I just added an undefined field object with the formula
below.
IIF([STATUS.AssnNumFK] <> Min([:PRIV:INACTDET.AssnNumFK]), "NO INACTIVE
ACCOUNTS FOR THIS ASSOCIATION", "")

Now, with your suggestion, I went back and tried it - placing table
frame inside the field with other calculated fields but no text - and
it worked. However, now am not able to display the field frame thus
simulating a box effect. Even tried shadow - no workee.

But it is a neat trick/tip.

Thanks again,
Rey


Reply With Quote
  #6  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: How to set report object invisible - 08-29-2006 , 04:01 AM



Rey
<<
However, now am not able to display the field frame thus
simulating a box effect.
Quote:
If you can't make the field frame to show, the tableframe is probably to
close to the field frame. Insert a space here and there.
--
Bertil Isberg
CTECH
Paradox Buglist: http://hem.bredband.net/bertilisberg/

remove spamfilter (reversed) to reply


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.