Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TIME DELAY WAITING FOR REPORT!

Status
Not open for further replies.

johnvai

IS-IT--Management
Oct 4, 2003
127
LB
I have a VB program with sybase database and crystal 8. the problem is that the reports are waiting too much time to be shown when they are asked (30 seconds on Pentium IV), unlike reports that has no parameters which need almost 2 seconds.
Can someone help me?
 
Are you trying to say that you've a VB process which runs both parameterized and non-parameterized reports, but the ones with parameters are taking longer?

Generally the problem with this is that the record selection formula isn't being passed to the database.

Constructing a proper record selection formula is key, and I've a FAQ on this topic here:

faq767-3825

Another factor is whether you're just passing parameters, or whether you're directly modifying the record selection formula.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top