Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: How to retrieve a db value using a parameter Post Reply Post New Topic
Author Message
cull
Newbie
Newbie


Joined: 28 Mar 2008
Online Status: Offline
Posts: 6
Quote cull Replybullet Topic: How to retrieve a db value using a parameter
    Posted: 28 Mar 2008 at 1:30pm
My report accepts a customer ID parameter.

I need to use that parameter to get an invoice number value from my SQL Server database, to display the invoice number in my report.

An obvious choice would be a SQL Expression, but I don't think you can use parameters in those.

So how can I do this?
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 28 Mar 2008 at 3:16pm
You can use the parameter in your record selection formula and this will automatically filter out the SQL data. Since you're registered to read the ebooks online, you can click this link for more info: http://members.crystalreportsbook.com/books/?p=88

You can find out more about my books at Amazon.com or reading the Crystal Reports eBooks online.


Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.014 seconds.