Hi
I am creating a crystal report with main report and sub report.It will basically record user transactions along with login details.
There are two groups in main report
The main report layout is something like this.
Group 1 (UserID)
Group 2 (UserLoginID)(UserLogin table with UserID as foreign key)
Subreport (show all inoutLog for a particular UserLoginID from INOUTLOG table which is having USERLOGID as foreign key.Also calculates Total time logged In and total time logged Out as summary of all inoutlog records corresponding to USERLOG_ID)
Details (Transactions in that login)
Transaction 1
Transaction 2
------- records
Group 2 footer
Group 1 Footer
Summary by user( Crosstab (Row as UserName and column as the zone and no of transaction as sum field)
Report Footer
GrandSumary(same row, column, sum fields which list all users)
Here in the above layout in the sub report section i have a variable which calculates the totaltimeIn and TotalTimeOut for a specific USERLOG_ID(group 2 level).
I need to get this values to my main report from subreport and calculate the totaltimein and totaltimeout at
Userlevel(Group 1 level).So that i can show that as a summary along with crosstab shown at group 1 level something like this
TotalTimeIn 20 minutes
TotalTimeOut 2 minutes
and also i need to get these total at report grand summary level ie, report footer for each user.Please
let me know how to achieve this ?
I am creating a crystal report with main report and sub report.It will basically record user transactions along with login details.
There are two groups in main report
The main report layout is something like this.
Group 1 (UserID)
Group 2 (UserLoginID)(UserLogin table with UserID as foreign key)
Subreport (show all inoutLog for a particular UserLoginID from INOUTLOG table which is having USERLOGID as foreign key.Also calculates Total time logged In and total time logged Out as summary of all inoutlog records corresponding to USERLOG_ID)
Details (Transactions in that login)
Transaction 1
Transaction 2
------- records
Group 2 footer
Group 1 Footer
Summary by user( Crosstab (Row as UserName and column as the zone and no of transaction as sum field)
Report Footer
GrandSumary(same row, column, sum fields which list all users)
Here in the above layout in the sub report section i have a variable which calculates the totaltimeIn and TotalTimeOut for a specific USERLOG_ID(group 2 level).
I need to get this values to my main report from subreport and calculate the totaltimein and totaltimeout at
Userlevel(Group 1 level).So that i can show that as a summary along with crosstab shown at group 1 level something like this
TotalTimeIn 20 minutes
TotalTimeOut 2 minutes
and also i need to get these total at report grand summary level ie, report footer for each user.Please
let me know how to achieve this ?