|
|
on forms [message #255002 is a reply to message #254999] |
Mon, 30 July 2007 06:51 |
sispk6
Messages: 164 Registered: November 2006 Location: pakistan
|
Senior Member |
|
|
ya it works in sql but not on forms? suggest what to do on forms
|
|
|
|
|
|
|
|
|
Re: string reverse [message #255460 is a reply to message #255229] |
Wed, 01 August 2007 00:07 |
sispk6
Messages: 164 Registered: November 2006 Location: pakistan
|
Senior Member |
|
|
if u want to reverse an array
its quite simple
---------------
create two objects of table by char or int,
------------
and copy the contents of one array into other using by index, in a loop;
index must be reverse.
please senior members never give the solutions of such questions , hints are good to goom an individual as
michel sayssss
|
|
|
Re: string reverse [message #256057 is a reply to message #255229] |
Thu, 02 August 2007 20:55 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
I thought 'reverse' was only for 'loop' usage only.From Oracle PL/SQl documentation on FOR-LOOP | By default, iteration proceeds upward from the lower bound to the higher bound. However, if you use the keyword REVERSE, iteration proceeds downward from the higher bound to the lower bound, as the example below shows. After each iteration, the loop counter is decremented.
FOR i IN REVERSE 1..3 LOOP -- assign the values 3,2,1 to i
sequence_of_statements; -- executes three times
END LOOP;
|
David
|
|
|