We are using Crystal 9, OLE DB connection to SQL Server.
In a report, I have two subreports. One points to a SQL table, the other to a SQL stored procedure. I have made changes to the SQL table and to the SQL stored procedure.
Now, in our database, there is an original copy of the table and the stored procedure under dbo, and there is the modified table and stored procedure listed under my id.
I have set datasource location in each subreport so that they point to my version of the table and stored procedure.
When I run the report through Crystal developer, it picks up my version of the table and stored procedure. Everything works fine.
When I run the report through my VB application, the subreport with the stored procedure works correctly. It uses my changed version of the stored procedure. However, the subreport with the table is running the dbo copy of the table, not my version of the table. Why? I did set datasource location to my version of the table. The VB app we use logs into the subreports the same way.
What could be the problem? Any ideas?
Thanks.
In a report, I have two subreports. One points to a SQL table, the other to a SQL stored procedure. I have made changes to the SQL table and to the SQL stored procedure.
Now, in our database, there is an original copy of the table and the stored procedure under dbo, and there is the modified table and stored procedure listed under my id.
I have set datasource location in each subreport so that they point to my version of the table and stored procedure.
When I run the report through Crystal developer, it picks up my version of the table and stored procedure. Everything works fine.
When I run the report through my VB application, the subreport with the stored procedure works correctly. It uses my changed version of the stored procedure. However, the subreport with the table is running the dbo copy of the table, not my version of the table. Why? I did set datasource location to my version of the table. The VB app we use logs into the subreports the same way.
What could be the problem? Any ideas?
Thanks.