Viewing 15 posts - 286 through 300 (of 541 total)
I added a new role 'Add Reports' with tasks 'Manage Reports' + 'Manage Folders'.
I then created folder 'Report Builder' added a New Role Assignment.
If anyone has a view on...
February 9, 2009 at 6:51 am
Thanks Guys.
HAVING COUNT(1) > 1 appears to be correct (returned 106 rows), HAVING COUNT(1) > 2 returned 0.
Great Work,
Phil.
February 6, 2009 at 12:42 pm
Just a thought......after the update is there a way to filter WHERE Products appear more than once + WHERE the DateLatQuoted match AND SequenceNumber = 500.
On the 'Live' data 3000...
February 5, 2009 at 3:34 pm
Thanks NULL. Excuse the error in my script (lack of INSERT INTO......I deleted in error!).
Many Thanks,
Phil.
February 5, 2009 at 3:14 pm
Good work guys. Chris your code worked a treat.
Many thanks to all those who posted I appreciate your efforts.
Kind Regards,
Phil.
February 2, 2009 at 11:48 am
Hi Chris, yes the same values. The query is for a report. Currently the report returns a blank for NULL's, I thought it would look better if it displayed 0.00.
Many...
January 31, 2009 at 4:06 pm
Guys my code now looks as follows:
WITH BidReport AS
(
SELECT
so.SalesOrderId AS BidNumber,
u.FirstName AS FirstName,
u.LastName AS LastName,
so.EffectiveDate AS Date,
c.CustomerName AS Customer,
Countries.CountryId AS DestinationSite,
soi.ItemDescription,CVOption.CustomFieldValueBit AS 'SystemOption',
CVWinProb.CustomFieldValueInteger...
January 31, 2009 at 2:58 am
Chris my code runs without error? What can I do to help? Let me explain further. The user may enter multiple custom fields on the app screens (SalesOrders / SalesOrderDetails...
January 31, 2009 at 2:07 am
Hi Bob. I looked at this from a different angle and decided to modify the query rather than format in the report using visual studio. I then posted to the...
January 30, 2009 at 10:00 am
Yes. The app allows users to create custom fields that are then stored in tables CustomFields, CustomValues. The Order Header (SalesOrders) has a custom field 'WinProb', the Order Detail (SalesOrderDetails)...
January 29, 2009 at 2:45 pm
Hi guys. I just had a play changing the joins. It did make a difference. Changing to
LEFT JOIN CustomValues AS CVOption
LEFT JOIN CustomFields AS CFOption ON CVOption.CustomField = CFOption.CustomField
AND CFOption.CustomFieldId...
January 29, 2009 at 2:29 pm
Code as requested.
SELECT
so.SalesOrderId AS BidNumber,
u.FirstName,
u.LastName,
so.EffectiveDate AS Date,
c.CustomerName AS Customer,
Countries.CountryId AS DestinationSite,
soi.ItemDescription,CVOption.CustomFieldValueBit AS 'SystemOption',
(SELECT SUM(isnull(soi.ItemValue,0))
WHERE CVOption.CustomFieldValueBit = 0) AS 'QuoteValue',
CVWinProb.CustomFieldValueInteger AS WinProbability,...
January 29, 2009 at 2:18 pm
Hi, I tried:
(SELECT SUM(isnull(soi.ItemValue,0))
WHERE CVOption.CustomFieldValueBit = 0) AS 'QuoteValue',
CVWinProb.CustomFieldValueInteger AS WinProbability,
QuoteValue still returns NULL?
Basically what I am trying to do is sum the ItemValue where a field 'Option'...
January 29, 2009 at 1:37 pm
Viewing 15 posts - 286 through 300 (of 541 total)