|
-
Oct 18th, 2006, 06:57 AM
#1
Thread Starter
Lively Member
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
-
Oct 18th, 2006, 07:03 AM
#2
Fanatic Member
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 
-
Oct 18th, 2006, 08:01 AM
#3
Thread Starter
Lively Member
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?
-
Oct 20th, 2006, 02:20 AM
#4
-
Oct 20th, 2006, 04:04 AM
#5
Re: Report returns no results at runtime
 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
-
Oct 24th, 2006, 03:01 AM
#6
Thread Starter
Lively Member
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!
-
Oct 24th, 2006, 03:05 AM
#7
Re: Report returns no results at runtime
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|