Subject Change Field on the fly
Author Arn
Hi All.

I have a prolem try to explicate:

Do in pseudo code:

declare AField varchar( 20 );

if ( :Question = 'Y' ) then AField='Field1';
if ( :Question = 'N' ) then AField='Field2';

select :AField from TableA where SomeField='Z' into ecc.ecc..


Someone could help?

Thanks

ARN