Crystal Report - Sintaxis campos creados en el script sql de crystal reports

 
Vista:

Sintaxis campos creados en el script sql de crystal reports

Publicado por Alexander Valdez Alcalá (1 intervención) el 31/05/2018 18:38:27
como puedo llamar un campo creado por un CASE y filtrarlo en el WHERE?

CASE
When t1.Dscription = 'AUDAX X LITRO' Then 'BAYER'
When t9.itmsgrpnam = 'MAIZ BLANCO' Then 'PIONEER'
When t9.itmsgrpnam = 'BIOESTIMULANTE' Then 'ALGACROP' else (select t9.itmsgrpnam) end Linea

Where Linea = {?lineaV}

No encuentro el modo de llamar A Linea en el Where me sale columna invalida.

agradezco su colaboración.

cordial saludo.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder