dbTalk Databases Forums  

Delete When Empty property ?????

comp.databases.paradox comp.databases.paradox


Discuss Delete When Empty property ????? in the comp.databases.paradox forum.



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

Default Delete When Empty property ????? - 02-22-2007 , 12:38 PM







PLEASE
Someone tell me what silly thing I'm doing that prevents this property from
working on my report.

I have a report for a Construction Engineer - works great!
It displays the Engineers as- Construction Engineer: Tom Brady

The same data is needed for the Manager of the Construction Engineers except
the Manager will drive the report by date rather than by Engineer Code.

If I set the property and there is not data the label is not displayed. HOWEVER,
once I make the field a calculated one so that the name displays and not
the code I can't set the property.

Say it isn't so AND I am doing something dumb!!!!

TIA


Reply With Quote
  #2  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Delete When Empty property ????? - 02-22-2007 , 12:57 PM






Jeanette,

You can accomplish delete when empty on a calculated field, thusly:

iif(isBlank([table.field]),"","Field Label: " + [table.field])

....and use an edit field rather than a labeled field. Then the field
label is part of the calculation and if the table field is blank, the
entire calculated field is blank.

Hope that helps,

Liz


Jeanette wrote:
Quote:
PLEASE
Someone tell me what silly thing I'm doing that prevents this property from
working on my report.

I have a report for a Construction Engineer - works great!
It displays the Engineers as- Construction Engineer: Tom Brady

The same data is needed for the Manager of the Construction Engineers except
the Manager will drive the report by date rather than by Engineer Code.

If I set the property and there is not data the label is not displayed. HOWEVER,
once I make the field a calculated one so that the name displays and not
the code I can't set the property.

Say it isn't so AND I am doing something dumb!!!!

TIA


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

Default Re: Delete When Empty property ????? - 02-22-2007 , 01:20 PM




ELIZABETH!!!

This was so ELEGANT, it was coooooool !

Thanks!

The Mgr wanted a bold Label and then the Name but I will convince the Mgr
it's either ALL bold or All regular font...


Liz McGuire <liz (AT) paradoxcommunity (DOT) com> wrote:
Quote:
Jeanette,

You can accomplish delete when empty on a calculated field, thusly:

iif(isBlank([table.field]),"","Field Label: " + [table.field])

...and use an edit field rather than a labeled field. Then the field
label is part of the calculation and if the table field is blank, the
entire calculated field is blank.

Hope that helps,

Liz


Jeanette wrote:
PLEASE
Someone tell me what silly thing I'm doing that prevents this property
from
working on my report.

I have a report for a Construction Engineer - works great!
It displays the Engineers as- Construction Engineer: Tom Brady

The same data is needed for the Manager of the Construction Engineers
except
the Manager will drive the report by date rather than by Engineer Code.

If I set the property and there is not data the label is not displayed.
HOWEVER,
once I make the field a calculated one so that the name displays and not
the code I can't set the property.

Say it isn't so AND I am doing something dumb!!!!

TIA



Reply With Quote
  #4  
Old   
Zal Dabhoiwala
 
Posts: n/a

Default Re: Delete When Empty property ????? - 02-22-2007 , 03:16 PM



You can also just use two calculated fields on the report, the first one
bold - iif(isBlank([table.field]),"","Field Label: ") -, the second one
regular font - iif(isBlank([table.field]),"", + [table.field]) and group
them together.

On 22-02-2007 14:20 Jeanette wrote the following email:
Quote:
The Mgr wanted a bold Label and then the Name but I will convince the Mgr
it's either ALL bold or All regular font...

Reply With Quote
  #5  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Delete When Empty property ????? - 02-22-2007 , 07:59 PM



Jeanette wrote:
Quote:
ELIZABETH!!!
If it's cooooool, how come I'm in trouble? :-( (No one ever calls me
Elizabeth unless I'm in trouble.)

Quote:
This was so ELEGANT, it was coooooool !

Thanks!

The Mgr wanted a bold Label and then the Name but I will convince the Mgr
it's either ALL bold or All regular font...
What Zal said - just use two calculated fields - you could group them in
a text object to keep them together and positioned right.

Liz


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.