Viewing 15 posts - 406 through 420 (of 443 total)
One small problem I've disvovered with this is that if you refresh the report then the sp is executed again with the sasme parameters and the data is updated again.
Just thought...
January 11, 2007 at 6:31 am
You need to enter just the stored procedure name without the parameters, they're not needed as Visual Studio works out the parameters for you.
January 11, 2007 at 4:39 am
and for even more fun pass the pattern for the like operator as a parameter to the function:
CREATE FUNCTION dbo.JeffsFunction(@sText AS VARCHAR(8000),@pattern varchar(8000))
RETURNS VARCHAR(8000)
AS
BEGIN
DECLARE @Result...
December 15, 2006 at 5:25 am
To check bit flags you have to AND the column with the value of the bit you are trying to test eg: SELECT name,dbid,status FROM master..sysdatabases where (status & 1024)=1024
November 30, 2006 at 3:41 am
Try numeric(38,0). It worked ok for the number you quoted
November 30, 2006 at 3:26 am
This usually happens to me when either the report header/footer/body sections are too wide for the width of the report. The extra (usually blank) space at the right of each...
November 28, 2006 at 6:01 am
As a start point try Googling for:
red brick odbc
November 22, 2006 at 6:35 am
Note: This won't work if any of the values does NOT contain a '/'.
In this case charindex(value,'/')-1 evaluates to -1 causing LEFT to blow up with an invalid length error.
You'll need...
August 31, 2006 at 7:36 am
Try:
=IIF(Fields!Sales.Value<>0, Fields!Margin.Value/Fields!Sales.Value ,"")
August 1, 2006 at 3:59 am
Problem with ISNUMBERIC is that it will return 1 not only for integers but also for valid decimal and money values too, eg. '1.00', '1,000.00' , '£1.00' and '$1.00'
August 1, 2006 at 3:50 am
I thought you only had to divide by 2 when using datalength.
June 27, 2006 at 2:28 am
Only a slight modification of my previous code required then:
=(Fields!hours.Value-Fields!hours.Value Mod 24)/24 & " days " & (Fields!hours.Value Mod 24) & " hours "
should do it.
March 29, 2006 at 1:03 am
There is a sample application that comes with reporting services that looks like it covers what you want to do. If you've installed the samples you'll find it in:
C:\Program Files\Microsoft...
March 28, 2006 at 8:52 am
Try this instead:
=(Fields!hours.Value-Fields!hours.Value Mod 24)/24 & "." & (Fields!hours.Value Mod 24)
March 28, 2006 at 6:54 am
Viewing 15 posts - 406 through 420 (of 443 total)