Sql generated by viewer

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Jan_M._Socorro_(Guest)
Posts: 1
Joined: Tue Oct 10, 2017 12:44 pm

Sql generated by viewer

Post by Jan_M._Socorro_(Guest) » Wed Sep 23, 2009 5:00 pm

Using:__R&R Report viewer SQL edition 8__SQL Server 2005__VB.net 2008____In the generated SQL query from the Viewer;__Those report that WORK have the User in the where clause without ""__ Example: user1.Table1 ____Those reports that DOES NOT WORK have the User in the where clause with ""__ Exmple: "user1".Table1____This was tested in a computer without R&R fully installed but has all the files required to run a report. But in a computer WITH R&R fully installed all reports work.____The error from R&R:__ The column prefix ^Table1^ does not match with table name or alias name used in the query.____I tired:__ Re-select the tables of the report,but all the users from My Database have ""__ Example: "user1"__ "user2"____Question: __Theres something I can do to remove the "" or iam missing a file from R&R?__ __________

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Sql generated by viewer

Post by kfleming » Fri Sep 25, 2009 10:07 am

Are you running the viewer from the same folder as the designer? If not, do you have the file RSWSQL.INI in the viewer folder?____Kathleen__R&R Support

Charles_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Sql generated by viewer

Post by Charles_(Guest) » Tue Dec 08, 2009 4:36 pm

I^m having the same problem since my data source has been converted from sql 2000 to sql 2005. I had to comment out "DataSourceOuterJoinStyle=1" from the ini file because it was using non-ansi joins (ie. =* in the where statement versus using "left outer join") but now I^m having problems with the quotes around everything... "dbo"."table1"

Post Reply