Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Crystal RDC with stored procedure recordset

Crystal RDC with stored procedure recordset

Crystal RDC with stored procedure recordset

i am developing a scheduler which would mail reports to clients
i am using RDC 7 with VB6, i am taking all the records available for all the clients and am preparing a report which would contain details of them all. i am using a clientside, static type recordset, and attaching this recordset to the datasource of the RDC component. the recordset is produced by a stored procedure, i have prepared the report using field definitions(ttx),
I am reading the records once for the first time, then am filtering the data according to a dynamic selection formula.
I want to reduce the database hit since i could be having about 10000-20000 clients to send reports to.
So the idea of clientside recordset. but still whenever i change the selection formula and read records, there is still a database hit, this i could realise by making an entry in a temp table whenever the procedure is called, there was always an entry on the table when i read the report changing the selection formula.
what could be the reason, where am i going wrong, what can be done to minimise the database hit.

RE: Crystal RDC with stored procedure recordset

The recordset that you pass to the report should be the final recordset.  Why not have the program extract a second subset from the first recordset and then just pass that?

Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close