Hi,
I have a crystal report main report with a formula which checks the value of a particular column say a datetime column in current record for some calculation.I want to compare this value with the immediate next record datetime column.As the main record does not bring this record(immediate next)due to some filter criterias, i need to get this immediate record using a subreport(using a stored proc by passing main report current record primary key) and get this datetime value in the main report formula using a Shared variable from subreport.But i do not want to show this subreport to user.How can i hide that?The records are at Group 2 level.Where should i put this subreport in main report.Is it at Group 2 level itself?Is it the right procedure for this? Please help.Its very urgent.
I have a crystal report main report with a formula which checks the value of a particular column say a datetime column in current record for some calculation.I want to compare this value with the immediate next record datetime column.As the main record does not bring this record(immediate next)due to some filter criterias, i need to get this immediate record using a subreport(using a stored proc by passing main report current record primary key) and get this datetime value in the main report formula using a Shared variable from subreport.But i do not want to show this subreport to user.How can i hide that?The records are at Group 2 level.Where should i put this subreport in main report.Is it at Group 2 level itself?Is it the right procedure for this? Please help.Its very urgent.