Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: SQL Expressions and Stored Procedure
Author
Message
djstephens
Newbie
Joined: 27 Aug 2009
Location: Australia
Online Status: Offline
Posts: 16
Topic: SQL Expressions and Stored Procedure
Posted: 31 May 2011 at 7:58pm
Can SQL expression be used to call SQL stored procedures
exec dbo.docApplProcNameAddrAssoc("ramapplicationprocess"."ram process ctr",'ramapplict','C')
this would as sql return and address field
Dazza
IP Logged
Emir_W
Senior Member
Joined: 25 Apr 2010
Online Status: Offline
Posts: 228
Posted: 31 May 2011 at 9:27pm
just sharing info:
I'm using CR XI.
some of reports in my office are using a Stored Procedure in SQL.
and some of them are using params using XML format.
in this case my SP have a part to read each params within XML.
and in my CR i have a function to read the XML format.
and it work fine till now.
to run in SQL i'm using:
exec thirdparty_mySP '<Root><Parameters From="01/01/2011" To="04/30/2011" ></Parameters></Root>'
to test in CR i'm using:
'<Root><Parameters From='01/01/2010' To='12/31/2010' ></Parameters></Root>'
as in 'Default value' in the Parameter.
hope it can help.
Edited by Emir_W - 01 Jun 2011 at 12:33am
Emir W
IP Logged
Dewald
Groupie
Joined: 02 Jun 2011
Location: South Africa
Online Status: Offline
Posts: 47
Posted: 02 Jun 2011 at 5:06am
Crystal can call a sql Stored Procedure.
Crystal would read the parameters needed from the sql Proc and prompt you for them.
Why would you want to use SQL Expressions?
Dewald Botha
http://www.ITClarity.co.za
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
BAEZL
© 2004-2026 Brian Bischof. All Rights Reserved.