Solved

Stored procedures orientation

Posted on 1999-01-25
2
218 Views
Last Modified: 2010-05-03
I need some orientation on the use of stored procedures on SQL Server 6.5 and Crystal Report on VB 6.0. I have created some stored proc with parameters. When designing a report in Crystal, he ask me to enter a value for the parameters, all is fine. When I want to show the report, how can I change the value of the parameter? Where I must do this, in VB or Crystal?
0
Comment
Question by:pjroy
2 Comments
 
LVL 3

Accepted Solution

by:
cognition earned 50 total points
ID: 1470534
If you are running the report from within VHB using a crystalk control then you can use the following syntax :

CrystalReport1.StoredProcParam(0)=”06/14/1989”
CrystalReport1.StoredProcParam(1)=10

If you just run the report from crystal then the user will be prompted for the parameters.

0
 

Author Comment

by:pjroy
ID: 1470535
Great, finally it is real simple, but you save me a lot of research.

Thanks
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question