Viewing 15 posts - 61 through 75 (of 134 total)
Keep in mind that the "Visibility" expression determines the value of the "Hide" property of the row. So to show only the rows where something is different, the expression should...
June 10, 2013 at 12:18 pm
I believe the missing piece is the foreign key relationship between the two sets of results. What column or columns need to correspond with identical values between the two sets...
June 10, 2013 at 9:31 am
My suggestion is to use the Visibility property of the entire row and hide the row when the corresponding values between the two datasets are identical. I have a sample...
May 30, 2013 at 8:15 pm
Using the "+X" shorthand way of adding days to a date is not the best practice, and in this case it is the cause of your error. It is always...
May 30, 2013 at 8:51 am
Assuming that the stored proc will simply return nothing if the parameters are not set correctly (both NULL or both defined, with the second date parameter equal to or greater...
May 30, 2013 at 5:16 am
The only way I know of to make the options for one parameter "dependent" on the selection of another parameter is to populate the "available values" via a dataset query...
May 29, 2013 at 6:16 pm
Thanks for the link, Lynn; that does explain it well, and I can see that it is the same solution recommended by cadavre. It is definitely better than my more...
May 29, 2013 at 9:50 am
I am scratching my head at the two proposed solutions that suggest a basic DATEDIFF() calculation. A basic DATEDIFF() solution will not yield the desired answer. "Day," "D" and "DD"...
May 29, 2013 at 9:23 am
The solution I propose is based on Jeff Moden's "tally table" concept[/url].
This may not be the most efficient way to use the tally table, but it does calculate the number...
May 29, 2013 at 8:24 am
If you want to list the options in a single column, the following can add one to your final query:
SelectionDescription = ISNULL('--- ' + Fds.FoodName, Fgp.FoodGroupName)
May 28, 2013 at 12:44 pm
Wouldn't the following work?
WHERE Directed LIKE '%' + REPLACE(@Directed, '/', '[ /]') + '%'
If the @Directed variable is '%', the comparison is to '%%%', functionally equivalent to '%'
If the @Directed...
May 28, 2013 at 8:43 am
Assuming you have at least the Standard Edition of SQL Server, all you have to do is set up a subscription in Report Manager. Choose the "email" option and give...
May 28, 2013 at 6:51 am
The "time" data type has an upper limit one microsecond less than 24 hours. I don't know how you are capturing the duration value, but should it ever exceed 23.59:59.9999999...
May 24, 2013 at 7:34 pm
The code is an exercise in date/time functions and data type conversions. Here are the enumerated steps:
1. Use DATEDIFF to calculate the difference, in milliseconds, from midnight to the time...
May 24, 2013 at 12:53 pm
Your additional data points revealed that it is possible to have a food item with no related food group, at least in your example. So here is an updated solution...
May 24, 2013 at 10:36 am
Viewing 15 posts - 61 through 75 (of 134 total)