Results 1 to 7 of 7

Thread: Report returns no results at runtime

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    96

    Report returns no results at runtime

    Hi

    I have a report which works fine in the preview window but returns no results at Runtime.

    The only difference I can think of between this report and other ones I have done that work is that the one that doesn't work uses a view that casts a string into a datetime and extracts the year part of the date. Then in the Record Selection part of the report I then have to convert that year back to a string to compare it to a parameter.

    Can anyone think of any reason why this might be a problem or if there's any other reason for the report not returning any results at runtime?

    Thanks

  2. #2
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: Report returns no results at runtime

    check the connection to that report at run time.
    may be connection is not valid,
    WHETHER YOU SUCCEED OR FAIL IS NOT AS IMPORTANT AS WHETHER YOU TRIED YOUR BEST

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    96

    Re: Report returns no results at runtime

    Do you mean the code in my front end application? I've got a generic screen that contains a report viewer to show all the reports I'm creating. For each report, I pass in a path to find the report and the database connection information (which is the same for all the reports). Most of my reports work fine, it's just this one that doesn't.

    Is there anything else I should check?

  4. #4
    Junior Member hairball's Avatar
    Join Date
    Aug 2006
    Location
    i'm not here.
    Posts
    24

    Re: Report returns no results at runtime

    Have you changed your database design after making this report? Maybe you need to use Verify Database.

    Break out from your mental box.
    I found better company. Iced chocolate with coffee jelly, anyone?

  5. #5
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: Report returns no results at runtime

    Quote Originally Posted by obscuregirl
    Hi

    I have a report which works fine in the preview window but returns no results at Runtime.

    Thanks
    You did not show that which report you are using ....
    I think you are using the crystal report
    see the option save data with report in the menu if it is checked then remove it first.

    for more detail of crystal report you can click on the crystal report tutorial link is at my siganature

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    96

    Re: Report returns no results at runtime

    Thanks for all your replies. I figured out that a formula I'd put in the Record Selection section was causing problems. Once I'd sorted that out, it worked fine!

  7. #7
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: Report returns no results at runtime

    Quote Originally Posted by obscuregirl
    Thanks for all your replies. I figured out that a formula I'd put in the Record Selection section was causing problems. Once I'd sorted that out, it worked fine!

    Your Welcome
    That’s good, if you got the solution of your problem then go to the thread tool menu and resolved this thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width