Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL Server/Crystal Reports

$
0
0

I could use some help. Here's the situation.

I've got information from two different tables, but they have nothing in common. I'm able to write a query to get the informationI need, but am having a hard time getting that information from a Crystal Report. I can use a wildcard in SQL, but not in Crystal. I'm finding that there has to be a column associated with both tables to get the information to work in Crystal.

Here's my query:

SQL
selects.SlsId,ni.EmpId,EmpName,ni.DateCreateasDateCreateNote,ni.DateUpdateasDateUpdateNote,Subject,Desfrom[excede].[dbo].SVSLSsjoin[excede].[dbo].CONOTITMnionSlsIdlikeni.[Subject]+'%'WHEREni.DateUpdate='01/15/2016'ANDs.SlsIdLIKE'R081%'


The only way I'm finding a way to get Crystal Reports to work is my having my pk direct to an fk. There are no such things with these two tables.

I did...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>