sort order in form 10g

Hello.

I realize migrating an application from forms6i to forms10g.

In a list of values, the elements are sorted alphabetically.

In forms 6i, sorting is:

1
2
3
A
B
C
D

But in fact 10g, the sorting is different.

A
B
C
D
1
2
3.

Is it possible to change this?

Sorting is nothing what forms in itself. Sort comes from the database. You also migrate to another database-version? You should check the queries into SQL * more.

Tags: Oracle Development

Similar Questions

  • CF9 - sort order of change for the recordset of db (Oracle)

    Hello, everyone.

    I'm responsible for a part of the project which consists in using a form to change the sort order of the data retrieved from a database of Oracle (10g production, development of 11g).  I've never had to do something like this before, so I'm a bit of a loss as to how to go about it.

    I thought by using the jQuery UI draggable feature, but do not know how to save the data in the database.

    With or without jQuery-UI, what do you think is the best way to go about this?

    Respectfully,.

    ^_^

    A co-worker suggested using the jQuery-UI for the sorting and AJaX to present the new sort order on each change.

  • How to change the sort order of the items sought for the last element of this research first. I DON'T want to say the order search engines, but the existing research by arrow down

    I want to be able to change the sort order of the items, I already looked in the search box. I want to be able to hit the arrow key down and see my previous searches in order of last search showing the first. For the moment, I don't know how it is sorting and it is very annoying to have to re - enter a query that I typed 5 minutes earlier, but because I typed in another 10 since it's lost somewhere in the list. Is it possible, I Googled, but did not find the topic anywhere. Just to clarify, I DON'T mean of the order of the search engines (which is what appears in google), I mean that the text typed into which has been registered in the drop-down list.

    Thank you

    'Form filling' uses a "frecency" algorithm, frequency + recency, similar to the list of AutoComplete address bar.

    I found an extension that seems relevant, but critics are old, so I'm not sure it's still working: Searchbar Autocomplete Order.

    But... is the AutoComplete does not? I expect that typing a few characters of the previous query would be to filter the list so that you can easily select? Or is the problem that the list does not remember quite who looking for?

  • How to keep the sort order when you rename a collection?

    I renamed a manually sorted Collection, but the sort order changes. Is it possible to maintain the order of the files when a Collection is renamed?

    In my view, the bridge works correctly implemented. Kinds of collection seem to be kept in a directory UserSort that contains an index and sort sequence list files. In win 7, it's . Entries in the file index.xml include the name of the collection and point to the xml file UserSort containing manually sorted sequences.

    A workaround solution you could try: go to the UserSort/Index.xml file find your former name of collection (.filelist) and change it to your new collection name.

  • Oracle Forms 10g runtime error

    Hello
    I am new to Oracle forms. I created the form, compiled successfully. But when I ran the form its opening a Page Internet Explore but display not nothing on the page. After a while his shows an error "Internet Explorer has stopped working". It is happen every time when I run the form.

    Please suggest me how to run a form in the application form as well as in the Internet Explorer web page.

    Thanks in advance
    Kaddour

    Suresh,
    Which edition of Windows 7 32-bit (etc. Professional, Home, Home Premium)? If you use a home edition - good luck to do this work. The necessary minimum edition is the professional edition. Just any editions have all necessary components of networking needed.

    If you use a professional edition or higher, then there are a few preparations you must do to make it work. They are:
    1. you must install the application as an administrator.
    2. you "run" the application as an administrator. The best thing to do is to find the Oracle executable and then right-click and select Properties. Click on the Compatibility tab, and then click "Run this program as an administrator." Windows 7 automatically runs applications like 'Standard user' - even if you have the privilege of administrator assigned to your account. This is part of the feature Universal Account Control (UAC) in Windows 7.
    3. you must install and use a compatible Java Runtime (JRE) (JRE 1.6.0 - No 1.7.0). Oracle Forms 10 g Release 2 (version 10.1.2.x.x) defautls to the use of the Oracle Jinitiator. However, Jinitiator is no longer compatible with Windows 7 and modern browsers or supported. Keep in mind that Jinitiator was to IE 6 so you cannot expect this JRE to work with modern browsers.
    4. change the formsweb.cfg to use JRE 1.6.0. Change the following lines:

    #baseHTMLjinitiator=basejini.htm
    baseHTMLjinitiator=basejpi.htm
    #jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    jpi_classid=clsid:CAFEEFAC-0016-0000-0034-ABCDEFFEDCBA
    #jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_34
    

    5. Finally, in order to run a form from the forms Builder, you must start the OC4J container. To do this, go to start-all programs-online Oracle Developer Suite - online DevSuiteHome-Online Forms Developer => start an OC4J Instance.
    The OC4J Instance emulates an application server which is required for Forms 10g Runtime.

    The changes described above assumes that you have installed the Java Runtime Environment (JRE) 1.6.0_34. If you have a lower version, make sure you change the "34" to the installed version.

    This is the minimum of changes necessary to make forms work on Windows 7 32 bit. It is strongly recommended that you apply the last group of patches (patches 3 Group) for forms bring your 10.1.2.0.0 version 10.1.2.3.0, but you will need a contract with Oracle support to obtain the fix.

    As for your question,

    One last thing, I've observed is the Oracle Services in the Control Panel control Panel\All Items\Administrative Tools\Services. I don't see any running services related to Oracle, in my system (do not even have a linked oracle service at this location).

    What other Oracle products you have installed? If just Oracle Forms, then you will have no service.

    Craig...

  • Problem of sorting of web form and data record

    Hi everyone, I found something very strange when I using sorting in the web form. Here is the example:

    column: Jan, Feb. line: a1: a6

    1. I put number 1 to 6 in the column of Jan from A1 to A6
    2. I sort descending Jan column, now in the Jan column order shows from 6 to 1
    3. I put number 6 in [Feb columns and lines of the A6] (with the sorting of the results of the A6 is the first line) and saved, and the number 6 I entered now appears in the line A1! (column Feb)

    Could someone tell me how to capture and record data in the correct sort order? I mean what you entered Is What You Get

    Its a Bug 12901681: PLANNING FORMS DO NOT UPDATE THE CORRECT in the SORT CELL
    It is supposed to be fixed in 11.1.2.1.103.

    Duplicate of which:
    Bug 12676064: PLANNING FORMS DO NOT UPDATE THE CORRECT in the SORT CELL

    Or as a workaround if you want to hide sort option you can apply under patch:
    Oracle Hyperion Planning, Fusion Edition Release Patch Set Exception (PSE) 11.1.2.1.000: 13014294, please take note: this is a small patch of development and requires a password to access. It takes a different password for each platform. Raise a SR with Oracle and are looking for the same thing.

    Or its fixed in 11.1.2.2 as 12901689 - forms do no update the correct cells if the sorting option is selected.
    Read me:
    http://docs.Oracle.com/CD/E17236_01/EPM.1112/hp_1112200_readme.PDF

    See you soon...!
    Rahul S.

  • Form 10G - Saving Blob on server applications using Java.

    Hello

    Forms 10g using, I'm looking for a solution to retrieve the Blob from my database (10 gr 2) and save it to the application server on the "Oraclehome\Apache\Apache\htdocs" directory so that users can download/view it via the browser.
    first of all, I used WebUtil to download files on the client and it worked perfectly.
    However, for some reason, my client does not want to download the file on his client.

    So here I am, I've created a java class called "saveBlobToFile" that receives a string as a parameter to write it to a file.
    I imported this class in forms where I used the following code.
    Everything works fine, but I need to convert my RAW in HEX to move to Java string and converted again to a Byte [].
    I order to speed up the process, I would avoid these 2 conversions.
    Don't you think that it is possible to move the RAW format (which is just a stream of bytes) to java? Either by converting it to ORA_JAVA. JACOB byte? Either passing as an object and cast in java to a byte array?

    Thanks in advance,
    Tim.

    PS: I based my development on this article
    https://support.Oracle.com/CSP/main/article?cmd=show & type = not & ID = 70110.1


    /***************
    FORMS
    ***************/
    DECLARE
    BLOB MY_BLOB;
    RAW BUFFER (32767).
    DIRECTORY OF THE AMT: = 10000; -32767;
    INTEGER POS: = 1;
    MYBLOBFILE ORA_JAVA. JOBJECT;
    BEGIN
    SELECT DOCUMENT
    IN MY_BLOB
    OF WRK_LOB_STORE
    WHERE ID = 1;

    LOOP
    DBMS_LOB. READ (MY_BLOB, AMT, POS, BUFFER);

    IF POS = 1 THEN
    MYBLOBFILE: = SAVEBLOBTOFILE. NEW ();
    SAVEBLOBTOFILE. WRITETOFILE (MYBLOBFILE, "C:\test.txt", RAWTOHEX (BUFFER));
    ON THE OTHER
    SAVEBLOBTOFILE. APPENDTOFILE (MYBLOBFILE, "C:\test.txt", RAWTOHEX (BUFFER));
    END IF;

    WHEN the AMT RELEASE < 10000;
    POS: = POS + AMT;
    END LOOP;
    END;

    /***************
    JAVA
    ****************/

    package saveblobtofile;

    to import java.io.FileNotFoundException;
    to import java.io.FileOutputStream;
    import java.io.IOException;

    public class saveBlobToFile {}

    private FileOutputStream fio;

    public saveBlobToFile() {}
    }

    ' public void writeToFile (String fileName, String, stringBuffer) survey FileNotFoundException.
    IOException {}

    FIO = new FileOutputStream (fileName);
    FIO. Write (hexStringToByteArray (stringBuffer));
    FIO. Close();

    }

    ' Public Sub appendToFile (String fileName, String, stringBuffer) throws FileNotFoundException,.
    IOException {}

    FIO = new FileOutputStream (fileName, true);
    FIO. Write (hexStringToByteArray (stringBuffer));
    FIO. Close();

    }

    public static ubyte [] hexStringToByteArray (String s) {}
    int len = s.length ();
    Byte [] = new ubyte data [len / 2];
    for (int i = 0; i < len; I += 2) {}
    data [I / 2] = (byte) ((Character.digit (s.charAt (i), 16) < < 4))
    + Character.digit (s.charAt(i+1), 16));
    }
    return data;
    }


    Public Shared Sub main (String [] args) {}
    saveBlobToFile saveBlobToFile = new saveBlobToFile();
    }
    }

    A very simple solution is to 'adjust' the WEBUTIL_FILETRANSFER package and create a new procedure DB_TO_AS by combining the existing DB_TO_CLIENT and procedure CLIENT_TO_AS (withou the intermediate step to save the file on the client)

  • TAB key does not work for all elements in forms 10G

    My dear, all I use form 10G.
    I have 10 fields.
    I put property in all previous navigation item elements and the order of the day navigation correctly.
    But when I'm by pressing the TAB key, the cursor does not to another element.
    It works for some fields, but not for all.

    What could be the problem?

    Published by: LuKKa Sep 24, 2010 13:56

    do you have the encodings in key-next-item trigger in one of your items?

  • Why cannot avoid the sort ORDER BY STOPKEY function index

     
    
    SQL> alter session set nls_language=american;
    
    Session altered.
    
    SQL> create table test_sort(name,object_name) as select 'select',object_name from 
      2  dba_objects;
    
    Table created.
    
    SQL> create index i_test_sort_1 on test_sort(substr(name,0,3),object_name);
    
    Index created.
    
    SQL> exec dbms_stats.gather_table_stats(user,'TEST_SORT');
    
    PL/SQL procedure successfully completed.
    
    SQL> set autot trace
    SQL> select * from (select * from test_sort where substr(name,0,3)='sel' order by 
      2  object_name) where rownum<11;
    
    10 rows selected.
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 4202652051
    
    --------------------------------------------------------------------------------
    -------------
    
    | Id  | Operation               | Name      | Rows  | Bytes |TempSpc| Cost (%CPU
    )| Time     |
    
    --------------------------------------------------------------------------------
    -------------
    
    |   0 | SELECT STATEMENT        |           |    10 |   740 |       |   504   (3
    )| 00:00:07 |
    
    |*  1 |  COUNT STOPKEY          |           |       |       |       |
     |          |
    
    |   2 |   VIEW                  |           | 49902 |  3606K|       |   504   (3
    )| 00:00:07 |
    
    |*  3 |    SORT ORDER BY STOPKEY|           | 49902 |  1559K|  3928K|   504   (3
    )| 00:00:07 |
    
    |*  4 |     TABLE ACCESS FULL   | TEST_SORT | 49902 |  1559K|       |    60   (5
    )| 00:00:01 |
    
    --------------------------------------------------------------------------------
    -------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<11)
       3 - filter(ROWNUM<11)
       4 - filter(SUBSTR("NAME",0,3)='sel')
    
    
    Statistics
    ----------------------------------------------------------
            139  recursive calls
              0  db block gets
            279  consistent gets
              0  physical reads
              0  redo size
            695  bytes sent via SQL*Net to client
            400  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              5  sorts (memory)
              0  sorts (disk)
             10  rows processed 
    
    sql doesn't choose index ,so I use hint to force oracle choose index
    
    SQL> select * from (select /*+ index(test_sort) */ * from test_sort where substr(name,0,3)='sel'
      2  order by object_name) where rownum<11;
    
    10 rows selected.
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1978014138
    
    --------------------------------------------------------------------------------
    ------------------------
    
    | Id  | Operation                      | Name          | Rows  | Bytes |TempSpc|
     Cost (%CPU)| Time     |
    
    --------------------------------------------------------------------------------
    ------------------------
    
    |   0 | SELECT STATEMENT               |               |    10 |   740 |       |
     22869   (1)| 00:04:35 |
    
    |*  1 |  COUNT STOPKEY                 |               |       |       |       |
                |          |
    
    |   2 |   VIEW                         |               | 49902 |  3606K|       |
     22869   (1)| 00:04:35 |
    
    |*  3 |    SORT ORDER BY STOPKEY       |               | 49902 |  1559K|  3928K|
     22869   (1)| 00:04:35 |
    
    |   4 |     TABLE ACCESS BY INDEX ROWID| TEST_SORT     | 49902 |  1559K|       |
     22424   (1)| 00:04:30 |
    
    |*  5 |      INDEX RANGE SCAN          | I_TEST_SORT_1 | 49902 |       |       |
       278   (1)| 00:00:04 |
    
    --------------------------------------------------------------------------------
    ------------------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<11)
       3 - filter(ROWNUM<11)
       5 - access(SUBSTR("NAME",0,3)='sel')
    
    
    Statistics
    ----------------------------------------------------------
              1  recursive calls
              0  db block gets
          22393  consistent gets
              0  physical reads
              0  redo size
            695  bytes sent via SQL*Net to client
            400  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              1  sorts (memory)
              0  sorts (disk)
             10  rows processed
    
    From the explain ,the sql chooses the index,but SORT ORDER BY STOPKEY  doesn't avoid,so oracle
    must read all rows satisfy substr(name,0,3)='sel' ,the I rewrite the sql as the following,we can see 
    that sort ORDER BY STOPKEY does't happen,so oracle return 10 rows fast. 
    
    SQL> select * from (select /*+ index(test_sort) */ * from test_sort where substr(name,0,3)='sel'
      2  order by substr(name,0,3),object_name) where rownum<11;
    
    10 rows selected.
    
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 4154852915
    
    --------------------------------------------------------------------------------
    ---------------
    
    | Id  | Operation                     | Name          | Rows  | Bytes | Cost (%C
    PU)| Time     |
    
    --------------------------------------------------------------------------------
    ---------------
    
    |   0 | SELECT STATEMENT              |               |    10 |   740 |     8
    (0)| 00:00:01 |
    
    |*  1 |  COUNT STOPKEY                |               |       |       |
       |          |
    
    |   2 |   VIEW                        |               |    10 |   740 |     8
    (0)| 00:00:01 |
    
    |   3 |    TABLE ACCESS BY INDEX ROWID| TEST_SORT     | 49902 |  1559K|     8
    (0)| 00:00:01 |
    
    |*  4 |     INDEX RANGE SCAN          | I_TEST_SORT_1 |    10 |       |     3
    (0)| 00:00:01 |
    
    --------------------------------------------------------------------------------
    ---------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter(ROWNUM<11)
       4 - access(SUBSTR("NAME",0,3)='sel')
           filter(SUBSTR("NAME",0,3)='sel')
    
    
    Statistics
    ----------------------------------------------------------
              1  recursive calls
              0  db block gets
             11  consistent gets
              0  physical reads
              0  redo size
            695  bytes sent via SQL*Net to client
            400  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
             10  rows processed

    Jinyu wrote:
    Hi, I think that this may be an optimizer bug 10g or flaw optimizer 10 g, although substr (name, 0, 3) = 'salt' is not selective, but oracle can also use indexes to find the top 10 by object_name result order

    Jinyu,

    Indeed, it seems to be a gap in the mode of optimization 10.2 FIRST_ROWS_n. I could reproduce your problem in 10.2.0.4 and watching the 10053 trace, it looks like that the optimizer does not consider the option "Recost for ORDER (with the HELP of indexes)" where you have a composite index based function. It does when using a 'normal' composite index, and it does - as you mentioned - when using the main column in the ORDER BY expression as well. You don't need to use INDEX indicator in this case, moreover, the recosting for ORDER BY then works very well and chooses the index without specified indicators.

    11 g the "recalculate for ORDER BY" appears again in the first place it looks like an obvious limitation / bug of 10.2.0.3/4 at least.

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

  • is there a sort order global for all folders?

    I have a lot of mail files, and I want them all to sort of the same way. However I can't find a way to set the sort order in the world, only individually per-folder. Is there a global sort order?

    Are you familiar with the configuration of Thunderbird Editor?

    If you change the wrong setting, or the incorrect value, you can make unusable Thunderbird, but if you're very careful...

    Read this article...

    http://superuser.com/questions/13518/change-the-default-sorting-order-in-Thunderbird

    TB - 38, 3 Win10-PC

  • How can I change the sort order in the finder / media / photos?

    When I want to open a photo in an application I can access photos via the media / photos. The sort order is ascending. I want that the descending sort order. Where can I do this? Thanks for the reply! Christian

    You can click right in the grid of thumbnails and choose to display it as a list. You can then sort the columns by clicking on them.

    I don't know of a way to get to another level by default.

  • Sort order for the Album to the artist / year

    How does Itunes sorting Option "Album of the artist / year"work? "

    I expect year wise Albums are sorted. But some of the Albums are not sorted in the year.

    If two or more albums were released in the same year by the same artist, they are sorted in alphabetical order. Note also that iTunes can produce unexpected results if you select a descending sort order.

    TT2

  • What is the sort order used Finder?

    I did a little research on this issue and found that (unless I'm missing something), the sort order of the Finder is not what it is supposed to be.

    The only requirement that I found is this note archived tech how Finder lists items that are sorted by name (Mac OS X) from 2012.

    In fact, almost everything what he described how Finder behaves, with the exception of the note at the bottom:

    Technically speaking, the Finder sort is based on the Unicode snack Algorithm, defined by the Unicode Consortium. This standard provides an order for all characters in Unicode sorting complete and unambiguous

    And that complicates matters, since (for example) the underscore character (officially called "bass line"), which sorts upwards and so before all alphanumeric value Unicode of U005F, which lies between the uppercase and lowercase Latin letters: 'Z' is U005A and 'a' corresponds to U0061.

    The reason I ask is because I would like to find a character that sorts after all Latin characters.  Many sort to before, including < space >, stress / < low line > and (my favorite for folders) < pointing right angle double quote > (i.e. "'").

    If it was really sort by Unicode, then it would be simple to use the selector of characters to insert a Unicode character value, such as U25B9, which is "▹.  "But we sort after space <>, < low line >, and" ' ", but before all Latin characters.

    I found an abstract character who works here for this, but I am helpless about the why.  U1400 is the Unicode section called "Unified Canadian Aboriginal syllable", and U1433, the "Canadian syllable Po", is a character who appears in the Finder as a very big plus of symbol: "ᐳ." (More than the symbol is ' > ' for comparison.)

    Yes WHY?

    Why think the Finder that's good (partial) order:

    U0020 "" (space)

    U005F '_' (bass line) < underscore >

    "U00BB '" ' (pointing to the right angle double quote)

    U005C "------" (Reverse Solidus) < backslash >

    U25B7 "▷" (white triangle pointing to the right)

    U0041 "A".

    U007A 'z '.

    U1433 "ᐳ" (Canadian syllable Po)

    Note: I see that note technical I linked to refers to the "Unicode snack Algorithm", which could indicate the answer somewhere in its depths.  If this is the case, then I guess this raises the question of why the Unicode coalition choose such an unexpected algorithm.

    Your "Note" has the answer.  Sorting of Unicode is not determined by the values of code as such point, it is determined by the algorithm.  This can be quite complex, but I think an easy way of having things to sort after Latin is to use a Greek character as µ (m option).

    http://Unicode.org/charts/collation/

  • iCloud SORT ORDER album.

    How to preserve "sorting" of a photo album, when I make a shared album iCloud?  All my work sort of creatively, is lost when the online album sharing.  Maybe I should use DropBox instead?

    Thank you.

    Rog Mason

    A shared album is essentially still a shared photo stream, even if Apple has changed the name of 'shared Album.

    If you want to have a shared album sorted in a specific order, you add photos to the album individually.  Thea bum will always be sorted at the time wherever you add photos. If you share photos in an album at the same time, the sort order of your album will be lost. Add photos to the album one at a time, in exactly the order you want.

  • How can I change the sort order of the emails?

    iPhone SE 64 GB iOS 9.3.1

    When I opened my mailbox (Mail-> all inboxes) mail is currently sorted from most recent email on top, then retreating.
    How can I correct the sort order so that the oldest email is on top then go ahead?

    You have not, not in the stock email app.  Perhaps a 3rd party app offers this, but not the stock iOS app.

Maybe you are looking for

  • Bookmarks and empty playlist after upgrade

    I just found out that bookmarks and the playlist on my phone are empty since the upgrade to iOS 10. They are on my iPad, which has also been improved. Under settings > Safari iCloud is turned on. Help appreciated. Thank you

  • Portege 7200 upgrade to 320 MB memory

    I just upgraded my 7200 to 320MB it's 128 MB, but now Windows XP do not work and both come with the Blue Screen of Death. This happens at different times in the boot sequence and with different patterns.I reformatted the hard drive several times and

  • DeskJet 3520: Where is the software?

    I just use the Software Support HP to install the drivers and software for my 3520 Deskjet on Windows 10. At the end of the process, no software has been opened, there is no shortcut to the software available on the desktop and the printer is not ava

  • Impossible to use ODD on my Satellite A30

    Satellite A30 has lost it's d ' training cannot use drive recovery what I have to buy a new drive or is there a software I can download to get it back? Thank you very much

  • KB2820917 update fails repeatedly.

    Been a failure since the April 10. Tried to Disable Antivirus, firewall & anti-ad. Tried the convenience store and M. Charlotte FixIt who has not although he claims to have succeeded. Then, Microsoft Fix it Center that installed, but seems to be corr