Quantcast
Viewing all articles
Browse latest Browse all 3636

getting database login prompt from viewer from previously running report

With Studio 10 and Crystal 11 I've been running a report for a number of months with no issues.

 

I have these two lines of code after getting my first dataset:

 

        UCRpt.Load(reportPath)

        UCRpt.SetDatabaseLogon(etc)

 

As I said in the header I'm suddenly getting prompted to log into the database by the report view for one of the datasets.

 

Nothing about the dataaset was changed and I'm pulling my hair out.I checked the result incoming data and it appears to be what it's supposed to be. Additionally, when I reverted to the inline code that had been running previously I still got the prompt, which I didn't expect under any circumstance.

 

I did change the code from inline queries to stored procedures, but I've checked the content for each of the procedures and there's been no change to the output columns.

 

Any thoughts?


Viewing all articles
Browse latest Browse all 3636

Trending Articles