We are trying to link a subreport to the main report by doing the following.
Identify a character in a text string and link the subreport with everything to the right of that character.
Example.
Main report has field [location]. Value = V546
Subreport has field [job_account]. Value = 4 S > V546.
The "4" is variable (ie could be 4004)
(space) "S" (space) ">" (space) are static
The remaining characters are variable too.
The idea is to look for everything after the ">" (space).
Would anyone have an idea what code I should be using to get these to link. I am guessing that I need to create a new field in my subreport query, but don't know what to use!
Any help greatly appreciated.
Cheers
NKA
The answer's always easy - if you know it! ;-)
Identify a character in a text string and link the subreport with everything to the right of that character.
Example.
Main report has field [location]. Value = V546
Subreport has field [job_account]. Value = 4 S > V546.
The "4" is variable (ie could be 4004)
(space) "S" (space) ">" (space) are static
The remaining characters are variable too.
The idea is to look for everything after the ">" (space).
Would anyone have an idea what code I should be using to get these to link. I am guessing that I need to create a new field in my subreport query, but don't know what to use!
Any help greatly appreciated.
Cheers
NKA
The answer's always easy - if you know it! ;-)