CFReport problem

We have added a new Intranet to our system (we already had one, but have added another for a separate company, but it uses the same server).  I copied all the files from the old intranet to the new one and changed all the datasources for queries etc.  I am now finding that a report with a subreport in the new intranet wants to get its data from the old intranet's datasource. (The datasources have the same names, but the new intranet datasources have _MNKU added to the name).
How can I tell the subreport to read its data from the same place as the main report - ie in the new intranet?

The report and subreport should get their data from the same table, with the subreport having two parameters to link with the main report.  Having read the LiveDocs I get the impression you can't have parameters if you specify the SUBREPORT option in a cfqueryparam?

Also if I specify the query to use in the cfreport tag the sorting and grouping goes astray, but if it uses the query set within the report builder ide it sorts and groups correctly.  (I have pasted the sql from the query builder in the ide to a CF form and specified it as the query in the cfreport tage, and it messes up).
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jdthedjAuthor Commented:
In the absence of any help I have had to do a workaround which has involved putting in dummy tables in the old intranet just to populate the CFReport.  I was hoping for a way to avoid that, and to be able to point the CFReport sub reports to their own datasources in the new intranet.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.