Solved

Stored procedures orientation

Posted on 1999-01-25
2
215 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now