Hi Eunice...
I am not after the error - just the syntax of the query.
Mike.
Post by EuniceHi Mike,
Here you are..
SELECT FilteredQuote.createdbyname, FilteredQuote.createdonutc,
CRMAF_FilteredQuote.quotenumber, CRMAF_FilteredQuote.contactidname,
CRMAF_FilteredQuote.statuscodename,
CRMAF_FilteredQuoteDetail.productdescription,
CRMAF_FilteredQuoteDetail.extendedamount,
CRMAF_FilteredOpportunity.closeprobability,
CRMAF_FilteredQuote.accountidname
FROM FilteredQuote AS CRMAF_FilteredQuote INNER JOIN
FilteredQuoteDetail AS CRMAF_FilteredQuoteDetail ON
CRMAF_FilteredQuote.quoteid = CRMAF_FilteredQuoteDetail.quoteid INNER JOIN
FilteredOpportunity AS CRMAF_FilteredOpportunity ON
CRMAF_FilteredQuote.opportunityid = CRMAF_FilteredOpportunity.opportunityid
ORDER BY CRMAF_FilteredQuote.createdonutc
Post by Mike ShawEunice,
Please try runing this and let m:e know
SELECT CRMAF_FilteredQuote.createdbyname,
CRMAF_FilteredQuote.createdonutc,
CRMAF_FilteredQuote.quotenumber, CRMAF_FilteredQuote.contactidname,
CRMAF_FilteredQuote.statuscodename,
CRMAF_FilteredQuoteDetail.productdescription,
CRMAF_FilteredQuoteDetail.extendedamount,
CRMAF_FilteredOpportunity.closeprobability,
CRMAF_FilteredQuote.accountidname
FROM FilteredQuote AS CRMAF_FilteredQuote INNER JOIN
FilteredQuoteDetail AS CRMAF_FilteredQuoteDetail ON
CRMAF_FilteredQuote.quoteid = CRMAF_FilteredQuoteDetail.quoteid INNER JOIN
FilteredOpportunity AS CRMAF_FilteredOpportunity ON
CRMAF_FilteredQuote.opportunityid = CRMAF_FilteredOpportunity.opportunityid
ORDER BY CRMAF_FilteredQuote.createdonutc
Post by mikeIt has to do with the userid of the person who created the data and the
userid you are using in VS and used to connect to the DB. If they are
different, a query on Filtered data will return nothing. Is the userid you
have used in VS to build your connection string the same userid that was used
to create the quote form?
Post by EuniceHi Mike,
Thanks for posting. i tried the code you posted but it did not work. Yes they
are the same userid, both Administrator. Any other ideas?