Subject | Change Field on the fly |
---|---|
Author | Arn |
Post date | 2006-12-20T09:30:18Z |
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
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