Subreport - how to make it print text if no results returned in subreport

Hi,
I'm using Crystal XI.
In my subreport, if the report returns zero records I would like it to display one set of text (ex: No records found), but if it finds records to display another set of text (ex: 5 records found).
I create and display a formula and it works fine if it finds records, but displays nothing if no records are found.  I've tried everything I can think of but can't get it to display.  Also, is there a way to display the number of records actually found?
I've made sure that in my subreport, that File / Report Options, that the "Suppress printing if no records" is Unchecked.
Thanks,
Erwin
Edited by: Erwin Siayap on Dec 31, 2008 1:35 AM

Hi Erwin,
Create a section and add a text box with 'no details found' or similar.  Right-click the same section and enter a suppression formula:-
not isnull({Field name})
This field must be such that will never be null if there are record there. 
Please let us know if this helps.
Regards,
Abhishek Jain.

Similar Messages

  • How to make separate/individual text frame from one parent frame in indesign with javascript

    Hi all,
    Please suugest - how to make separate/individual text frame from one parent frame in indesign with javascript.
    Thanks
    Rohit

    @Larry – ah, your interpretation could be the right one…
    May I rephrase the question:
    "How to split threaded text frames to single ones?"
    "SplitStory.jsx" or "BreakFrame.jsx" under Scripts/Samples indeed could be the answer.
    From the comments in the code of "BreakFrame.jsx":
    //Removes the selected text frame (or text frames) from the
    //story containing the text frame and removes the text contained
    //by the text frame from the story.
    //If you want to split *all* of the text fames in the story, use the
    //SplitStory.jsx script.
    Uwe

  • How to make a dynamic text  be SMS by fl2.1

    Now ,I know use " getURL("sms:"+telnumber) "to send sms to a
    specified no.,but how to make a dynamic text be the sms content.?
    Many thx!:

    Ciao,
    this should work:
    smstxt = "ciao, happy holidays";
    telnum = "1234567890";
    getURL("sms:"+telnum+"?body="+smstext);
    body is a keyword.
    Alessandro

  • How to make Dynamically Shortened Text With "Show More"

    Hi there! i want to know how to make dynamically shortened text with show more or read more in my website using HTML 5 pages  or ASP.NET ?
    example like these paragraphs 
    Lorem Ipsum är en utfyllnadstext från tryck- och förlagsindustrin. Lorem ipsum har varit standard ända sedan 1500-talet, när en okänd boksättare tog att antal bokstäver och blandade dem för att göra ett provexemplar av en bok. Lorem ipsum har inte bara överlevt fem århundraden, utan även övergången till elektronisk typografi utan större förändringar. Det blev allmänt känt på 1960-talet i samband med lanseringen av Letraset-ark med avsnitt av Lorem Ipsum, och senare med mjukvaror som Aldus PageMaker.
    Det är ett välkänt faktum att läsare distraheras av läsbar text på en sida när man skall studera layouten. Poängen med Lorem Ipsum är att det ger ett normalt ordflöde, till skillnad från "Text här, Text här", och ger intryck av att vara läsbar text. Många publiseringprogram och webbutvecklare använder Lorem Ipsum som test-text, och en sökning efter "Lorem Ipsum" avslöjar många webbsidor under uteckling. Olika versioner har dykt upp under åren, ibland av olyckshändelse, ibland med flit (mer eller mindre humoristiska).
    I motsättning till vad många tror, är inte Lorem Ipsum slumvisa ord. Det har sina rötter i ett stycke klassiskt litteratur på latin från 45 år före år 0, och är alltså över 2000 år gammalt. Richard McClintock, en professor i latin på Hampden-Sydney College i Virginia, översatte ett av de mer ovanliga orden, consectetur, från ett stycke Lorem Ipsum och fann dess ursprung genom att studera användningen av dessa ord i klassisk litteratur. Lorem Ipsum kommer från styckena 1.10.32 och 1.10.33 av "de Finibus Bonorum et Malorum" (Ytterligheterna av ont och gott) av Cicero, skriven 45 före år 0. Boken är en avhandling i teorier om etik, och var väldigt populär under renäsanssen. Den inledande meningen i Lorem Ipsum, "Lorem Ipsum dolor sit amet...", kommer från stycke 1.10.32.
    Den ursprungliga Lorem Ipsum-texten från 1500-talet är återgiven nedan för de intresserade. Styckena 1.10.32 och 1.10.33 från "de Finibus Bonorum et Malorum" av Cicero hittar du också i deras originala form, åtföljda av de engelska översättningarna av H. Rackham från 1914.

    Moved to the main Dreamweaver support forum.
    There are several ways you could approach this. Here's one you might try:
    Give the first paragraph an ID, such as "first", and wrap the paragraphs you want to hide in a <div> with another ID, such as "more". Then add the following block of JavaScript just before the closing </body> tag of the page:
    <script>
    var first = document.getElementById('first'),
         more = document.getElementById('more'),
         trigger = document.createElement('span');
    trigger.id = 'trigger';
    trigger.innerHTML = 'Show less';
    first.appendChild(trigger);
    function toggleDiv() {
      var state = more.className,
           text = trigger.innerHTML;
      more.className = (state == 'open') ? 'closed' : 'open';
      trigger.innerHTML = (text == 'Show more') ? 'Show less' : 'Show more';
    toggleDiv();
    if (trigger.addEventListener) {
        trigger.addEventListener('click', toggleDiv, false);
    } else if (trigger.attachEvent) {
      trigger.attachEvent('onclick', toggleDiv);
    } else {
      trigger.onclick = toggleDiv;
    </script>
    This gets references to the "first" paragraph and the "more" <div>. It also creates a <span> with the ID "trigger" that's appended to the "first" paragraph. The rest of the script defines a function called toggleDiv(), which toggles the "more" <div> open and closed, and changes the text in the "trigger" <span>.
    You also need to create the following style rules for the various elements:
    <style>
    #trigger {
        text-decoration: underline;
        color: blue;
        cursor: pointer;
    #more {
        transition: ease-out .7s;
        overflow: hidden;
    #more p:first-child {
        margin-top: 0;
    #more.closed {
        height: 0;
        -webkit-transform: translateY(-600px);
        transform: translateY(-600px);
    #more.open {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        max-height: 600px;
    #more + p {
        margin-top: 0;
    </style>
    This solution hides the text and creates the "trigger" <span> only if JavaScript is enabled in the browser. It should work in all browsers, including Internet Explorer 8 and earlier.

  • How to make the Printer deskjet 3940 compatible with Windows 7, home basic, 32 bits?

    I have HP Deskjet 3940 Printer. I recently purchased a Lenovo desktop( C320, 57-302429) which has Windows 7,home basic,32 bits operating system. The said printer does not work with the above computer. Please guide how to make this printer compatible with the above operating system.
    This question was solved.
    View Solution.

    1. Click the Start button, click Control Panel and double click Devices and Printers.
    2. Click Add a Printer.
    3. Select Add a local printer.
    4. Choose an existing USBx Local port, click Next.
    5. Click the Windows Update button.
    6. After the update finishes, search for the 3940 driver.
    7. click Next,Next,Next,Next,Finish
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • How to make a tts text-to-speech keyboard shortcut

    Hi,
    How do I make a tts text-to-speech keyboard shortcut
    to control the OSX "Speech" available as a contextual menu
    when you right-click selected text in Safari, TextEdit and other native apps
    *Speech > Start Speaking*
    *Speech > Stop Speaking*
    I can get this far:
    *System Preferences > Keyboard > Keyboard Shortcuts >*
    I have low-vision and need this on as many as possible or all text running on my computer.
    Less important: The "Speech" contextual menu is not available right-clicking text in Google Chrome. I could sure use it there too.
    THANKS!

    If you want it turned on permanently open Universal Access preferences, click on the Seeing tab, turn on VoiceOver. Click on the VoiceOver Application button for more configuration options.
    There's also a shortcut option for TTS in the Speech preferences.

  • How to make the print, email button work in PDF output

    Hello,
    I'm using LC  Designer ES2 to create a xdp form with print, email and httpSubmit  button. Then using LC server to generatePDF output, binding with xml  dynamically. But after that I got the static pdf file and none of the  button work,
    I really need help on how to make it work. Any configuration, plug-in....
    Thanks,

    Hi,
    This is solved by note 1281208.
    Thanks,
    Edited by: Zhijie Kong on May 24, 2011 6:06 PM

  • Very URGENT -- How to make keyboard print

    This is very urgent. How to make the keyboard print?

    Here is the code. It is supposed to make the keyboard type something.
    This is URGENT.
    public class KeyBoarder
         private int keyPressed;
         public KeyBoarder()
              System.out.println("Welcome to keyboard");
         private void print()
              System.out.println("Keyboarder has printed");
         public static void main(String args[])
              KeyBoarder board = new KeyBoarder();
              board.print();

  • Newsstand app how to make the print larger

    Hi - I have download a magazine however how do I make the print larger.  I am not finding the option.

    It sounds like you'd be fine if you just separated the print function from your "Yes" button. It will require a 2nd button click from the user but that would be the only inconvenience.

  • How to make a impressive text animation?

    Hi everyone,
    I have completed my video, but now I want to add some text to it, I tried using title, and I love one of those style in there, but I want to make a impressive text animation (transition). There's no way I can do it with the effect control tab, I want text appear and disappear with fire around or appear like typing style something like that. Is that anyway to do it, or any other softwares that can easily do what I expected? Please help, this is urgent.
    Thank you.

    Besides the great suggestions so far, you might want to look into a couple of 3rd party programs:
    BluffTitler (I think that it has a "fire" Effect as a Preset, and does have "Typewriter")
    ProDAD's Vitascene, along with their Heroglyph
    Pixelan's Spice Master (more for Transitons, but you can create custom Effects too)
    Good luck,
    Hunt

  • How to make the LONG TEXT as mandatory

    Hi,
    In one tansaction, I need to make the LONG TEXT as mandatory.
    or
    I need to raise an Error message if the long text is empty.
    Thanks

    I want to make the long text mandatory in the transaction F-66.
    In this, long text field (text box) is not displaying directly for typing.
    We need to click on the button LONG TEXT, then text box is opening for typing.
    I need to make this as mandatory.
    Thanks

  • How to make users accountable while they record results

    Dear Gurus
    I want to add accountability to QE51 while result recording so that i can check which result is recorded by which user. How can i make users accountable while they record results? Kindly help me on this

    Hi Dear,
    Yes you can make user more accountable while doing the Resul Recording(RR) as well as Usage Decision (UD) THROUGH TRANSACTION CODE qe11, qa11, qe51n using "Electronic Signature' functionality.
    By this functionality you can also controlled the user while doing RR and UD using Authorisation.
    By implementing the electronic signature functionality - you can see who had done RR/UD on what date, time also you can track who had attemted to do the RR/UD using Transaction code DSAL.
    I hope this will help you.
    Regards,
    Rahul

  • How to make a report based on the result of another report?

    Hi, All,
    I am a new guy in BW development
    I  made the report1, to show the "Total Sales in each country and each shop "
    (the fact table is "Order")
    now I want to make report2 "in each countries, the number of the shops, whose Total Sales >100000"
    Can I make the report2 based on the result of report1 (use the same fact table)
    thanks a lot
    QY

    Hi Klaus,
    your condition only works if the Shop is in the query. If I understood it correctly you have one query with
    Country   Shop   Total Sales
    and one with
    Country   Number of Shops   Total Sales
    and you don't want to restrict the second Total Sales but the Total Sales from the first query.
    Best regards
       Dirk

  • How to make the print command wait until form is rendered.

    This is an ongoing issue that so far I haven't been able to figure out how to fix, so I'm hoping that someone will have a good idea or work around. I'm working in LiveCycle Designer ES v8. using JavaScript.
    I have to include a feature that allows the user the choice to print out a dynamic form to fill out by hand. So I've created a button that asks if this is what they want to do, if they answer "Yes", then several things are scripted to happen. All data is reset, some subforms and pages are made visible, while other subforms are hidden, and text fields are expanded. This causes the form to expand from one page to 15 pages. Then it prints using this command:
              xfa.host.print(1,   
    "0", (xfa.host.numPages -1).toString(), 0, 1, 0, 0, 0);
    The problem is that when the print dialogue box appears, the Print Range is always set to less than the total number of pages. It looks like that the print commands fires before the form has completed rendering. This isn't a big deal since the user can click to set the Print Range to "All" which will print all 15 pages. The problem is that most people don't read the dialogue box. They click "okay" and end up with their form cut off.  Then I get phone calls that my form doesn't work.
    Is there anyway to delay the print command until everything has finished rendering? Or set the Print Range to always go to "All"?
    Thanks in advance for your help with this.

    It sounds like you'd be fine if you just separated the print function from your "Yes" button. It will require a 2nd button click from the user but that would be the only inconvenience.

  • How to Make an Expanding Text Container?

    Is it possible to create a div tag (or some type of container
    object) that can reference a large body of text (such as a long
    article for example) and only show the first few paragraphs with a
    link at the bottom to expand the container to show the entire
    contents pushing any objects below it further down the page?
    I'm using php to include a large html article inside of a div
    tag on a newsletter page and would like to learn how to create a
    partial display that can expand to show everything only if the user
    decides to read more.
    Could someone please point me in the right direction in order
    to learn how to do this?
    Thanks!
    ~Greg

    Here is what you have in the onclick event :
    if(document.getElementById('article_snippet').style.display
    == 'block') {
    document.getElementById('article_snippet').style.display =
    'none';
    document.getElementById('article').style.display = 'block';
    }else{
    document.getElementById('article').style.display = 'none';
    document.getElementById('article_snippet').style.display =
    'block'
    On first click, you are checking 'article_snippet' for the
    value of
    .style.display However, the wayt it works is that .style
    values are
    NEVER the one in an external, or even an embedded style
    sheet. They is
    ONLY the ones in *inline* styling. And your div does not have
    that
    style inline initially.
    So, on the first click, no such style is found, and the else
    phrase is
    run, setting an INLINE value for
    article_snippet.style.display to 'block'.
    Then on the second click the first condition is met because
    the element
    now has an inline style with display=block, And the script
    now runs as
    you thought it would on first click.
    Does that make sense?
    E. Michael Brandt
    www.divaHTML.com
    divaGPS | divaFAQ
    www.valleywebdesigns.com
    JustSo PictureWindow
    Myrrhlin225 wrote:
    > Hello Again,
    > Well, I managed to get this to "almost" work based on
    the resource posted
    > above by Alec. However, given my limited experience with
    javascript, I seem to
    > have a slight problem in that the show/hide link must be
    clicked TWICE (but
    > only the first time) in order for everything to work
    properly.
    >
    > Could someone who really knows javascript please have a
    look at my source code
    > and tell me what I might need to change in order to get
    this toggling link to
    > work when a user clicks on it for the first time? I just
    don't want people to
    > have to click twice in order to see the full article.
    >
    > Thanks!
    > ~Greg
    >

Maybe you are looking for

  • USE OF GIF FILE

    Hai, i create one form and calling gif file in it but when i run it no gif animination is working is anyway to call gif with animination.

  • Problem installing Camera raw 6.7 CS-5

    Using CS-5. I can't upgrade Camera Raw version 6.3 to version 6.7.  When I run AdobeCameraRaw-6.7-mul-AdobeUpdate I get an error message that says SOME UPDATES FAILED TO INSTALL, UPDATE IS NOT APPLICABLE. A link to customer support brings up an Adobe

  • IMAP Gmail not working properly after update ?

    I have setup my Gmail account using IMAP on my Mac. I also have Gmail setup on my iphone, again as IMAP. When I read the emails on my iphone, it is synced with my gmail account, as I see it change on the web. However, my Apple Mail still shows it as

  • Is there a way to make state transitions/animations of a fl.control states - button for example ?

    Is there a way to make state transitions/animations of a fl.control states - button for example ? All I can do now is change the skin design and that's it, I can't animate between states like I can with Flash Builder skins. So is there a way to do th

  • Zoom into a specific point on a clip

    How do I zoom to a specific point on a clip or picture? Whenever I try to use this feature it just goes to the centre of the clip. Thank-you.