I am rather new to Crystal Reports XI, and I have had a few issues with linking the data.
I have a report that is linked off of a multiple tables in a T-SQL database (MS SQL 2005)
The data that I am entering is from a table which contains user_id's and has a lookup table with the information that pertains to the referenced id.
dbo.table.user_idA (int) -001
dbo.table.user_idB (int) -002
dbo.lookup_user.userid (int)
dbo.lookup_user.name (str)
The problem I am having is that when I link my table via either user_idA or user_idB, I am only returning the user name for the entry that it is link by.
So, if I link via user_idA, I am receiving the userid value of 001, but I am unable to receive the corresponding values for userid 002.
How do I get Crystal Reports to understand that I want the values to correspond based off of the userid?
I have tried right joins, which cause it to give me a lovely blank screen.
I need to do a:
WHERE table.user_idA = lookup_user.userid
However, I am unable to get that into a formula.
Any help on this issue or suggestions are greatly appreciated.
I have a report that is linked off of a multiple tables in a T-SQL database (MS SQL 2005)
The data that I am entering is from a table which contains user_id's and has a lookup table with the information that pertains to the referenced id.
dbo.table.user_idA (int) -001
dbo.table.user_idB (int) -002
dbo.lookup_user.userid (int)
dbo.lookup_user.name (str)
The problem I am having is that when I link my table via either user_idA or user_idB, I am only returning the user name for the entry that it is link by.
So, if I link via user_idA, I am receiving the userid value of 001, but I am unable to receive the corresponding values for userid 002.
How do I get Crystal Reports to understand that I want the values to correspond based off of the userid?
I have tried right joins, which cause it to give me a lovely blank screen.
I need to do a:
WHERE table.user_idA = lookup_user.userid
However, I am unable to get that into a formula.
Any help on this issue or suggestions are greatly appreciated.