I have the following report scenario:
I am grouped by ivmain.officer_ID then ivmain.Date_occu.
My report links to the Employee table: "ivmain"."officer_id"="emmain"."empl_id" so I can resolve the actual employee's First and Last Name.
I have set up a dynamic parameter in which ivmain.officer_ID is selected first and described by emmain.emLname.
The hierarchical connection then allows the user to select the First name from emmain.emFname based on their first selection. This is set to allow multiple values.
I have the following selection criteria set currently:
{systab1.code_key} = "DIVS" and
{emmain.emfname} startswith ({?Driver - emfname}) and
{ivmain.officer_id} = {?Driver - officer_id}
This will not return any results. Now I can of course take the ivmain.officer_id out of the equation and just dynamically set parameters based on employee last name, first name, but I only want the last names of people entered into the ivmain table to appear in my parameter list, then link so a selection can be made for the first name.
I've tried the above selection criteria as {ivmain.officer_id} startswith {?Driver - officer_id}, but of course this will not work because I'm not dealing with a string field for this piece.
The dynamic parameters work perfect, I just need help with the selection formula since I'm pulling Number and String fields.
Thanks In Advance!!
I am grouped by ivmain.officer_ID then ivmain.Date_occu.
My report links to the Employee table: "ivmain"."officer_id"="emmain"."empl_id" so I can resolve the actual employee's First and Last Name.
I have set up a dynamic parameter in which ivmain.officer_ID is selected first and described by emmain.emLname.
The hierarchical connection then allows the user to select the First name from emmain.emFname based on their first selection. This is set to allow multiple values.
I have the following selection criteria set currently:
{systab1.code_key} = "DIVS" and
{emmain.emfname} startswith ({?Driver - emfname}) and
{ivmain.officer_id} = {?Driver - officer_id}
This will not return any results. Now I can of course take the ivmain.officer_id out of the equation and just dynamically set parameters based on employee last name, first name, but I only want the last names of people entered into the ivmain table to appear in my parameter list, then link so a selection can be made for the first name.
I've tried the above selection criteria as {ivmain.officer_id} startswith {?Driver - officer_id}, but of course this will not work because I'm not dealing with a string field for this piece.
The dynamic parameters work perfect, I just need help with the selection formula since I'm pulling Number and String fields.
Thanks In Advance!!