Viewing 12 posts - 1 through 13 (of 13 total)
We solved this problem by replacing the pc.
thank you for your response.
August 15, 2011 at 11:47 am
Hello everyone - Thought i would share my solution. I used a function that someone pointed me to and a cursor to create the file of case numbers..
Life...
February 2, 2011 at 11:44 am
thank you everyone for your help! I will work with all suggestions, one of them is sure to work for what I need.
thanks again!! 🙂
January 28, 2011 at 11:13 am
GilaMonster (1/27/2011)
reder (1/27/2011)
.As I said earlier, you will need a split function or to split the parameter into a temp table if there are multiple values in it.
And thats...
January 28, 2011 at 9:44 am
The @caseNbr is not null part is not working correctly. I get back data for the first caseNbr keyed in by the user and not the second.
the...
January 27, 2011 at 1:05 pm
I was told to use the "nolock" to prevent a data lock.. ?? So far it has not been a problem with the other stored procs.
Yes the problem is...
January 27, 2011 at 12:43 pm
The else part works.. it gathers the data based on the start and end date parameters and ignores the @caseNbr parameter. Heres the "esle" part:
ELSE
BEGIN
-- get all...
January 27, 2011 at 12:28 pm
This the code for if the @caseNbr is not null:
ALTER PROCEDURE [dbo].[rpt_CaseFolderLabels]
@startDate date
,@endDate date
,@court char(02)
,@location char(02)
,@caseNbr char(12)
,@filingFee int
AS
IF (@caseNbr is not null)
BEGIN -- get all the active parties...
January 27, 2011 at 12:15 pm
This is the results of the profiler:
exec rpt_CaseFolderLabels @caseNbr=N'10-cc-033227,10-cc-032468',@startDate='2011-01-27 00:00:00',@endDate='2011-01-27 00:00:00',@court=N'CA',@location=N'TA',@filingFee=0
The two @caseNbr entered are received. the other parameters are ignored because the @caseNbr is not null.
January 27, 2011 at 12:11 pm
Gail
I corrected my "IF" to
IF (@caseNbr is not null)
Begin
...
And I still only get one label printer.
thank you for your help
January 27, 2011 at 11:58 am
Sorry i did not realize I posted this twice... where is the original?
January 27, 2011 at 11:40 am
The data for the multiple records for @caseNbr will look like this:
12-XR-012345, 12-RT-098733, 09-CA-123456
The user can input 3 case numbers or 20. And the case number is six...
January 27, 2011 at 11:39 am
Viewing 12 posts - 1 through 13 (of 13 total)