Help!...SQL*Forms 4.5

From: D. Shah <dipen_at_dcs.rhbnc.ac.uk>
Date: 1998/02/01
Message-ID: <6b2fuq$qog$1_at_us1.rhbnc.ac.uk>#1/1


[Quoted] [Quoted] I'm trying to use the following code to manipulate row names:

:global.row_select := 'row'||to_char(row_num);

	 select :global.row_select
         into :global.contents
         from seat_avail
	 where flight_id = :global.flight_id;
	

The code is not working. I believe SQL*Forms converts the code into

e.g. select 'row10'

     into :global.contents
     from seat_avail
     where flight_id = 1234;

What I require it to do is:

select row10
 into :global.contents

     from seat_avail
     where flight_id = 1234;  

Is there any way to get my code working? (It would be impracticle to write several 'select' routines since there are 68 rows in EACH table!)

Many thanks for all your help!

Best Regards
Dipen Received on Sun Feb 01 1998 - 00:00:00 CET

Original text of this message