Hi everyone how can filter query on the form

I a request form based on a database of datablock table and I use some items based on the datablock control to run the query, the user can use a portion of this Articles to filter the query, what is the best way to implement this form I have tried using the set_block_property default _where but is not working If the user is using all of the elements to filter the query, which is better use of the cursor or the default_where and how.

Hello

You can try to use the LIKE operator instead of =.

Str_Condition: = ' AS "' |:. . '%'' AND LIKE ''' || :. || '%'''; etc.

And use it as the DEFAULT_WHERE clause.

Manu.

Tags: Oracle Development

Similar Questions

  • I live in Indonesia, how can I fill in the form under "my address book?

    Registration was not a problem, but after that, when I wanted to put in my bank details to be able to make purchases, I became confused where I was not able to put in the country where I live. The only options are in the USA or the Canada. Why am I unable to do and what then is the meaning of the inscription, let alone make any purchase?

    In what form?  Adobe Reader is free; you don't need to register to download.

  • How can I set up the filter to just show me videos?

    How can I set up the filter to just show me videos?  Thank you!!

    HI Timothy Drury,

    If you know the file extension, you can apply the text filter, or you can sort the files by file type.

    Concerning

    Sarika

  • How can I query the XML file that is stored as a CLOB data?

    Hi people,

    Please see below the example XML file, which is stored in 'os_import_docs', 'document' as a CLOB column.

    I would like to ask this XML file using some select SQL.


    How can I query form below XML?
    <?xml version="1.0" encoding="UTF-8"?>
    <etd>
      <header>
        <AR>000000000</AR>
        <AW>0</AW>
        <CT>S</CT>
        <CU>H</CU>
        <CZ>SS48</CZ>
        <BU>4</BU>
        <CH>0032</CH>
        <CK>2012-11-01</CK>
        <CL>21:18</CL>
        <CW>225</CW>
        <CX>0</CX>
        <CF>SS-CZL18</CF>
        <DV>2</DV>
      </header>
      <account_group id="234">
        <account id="234">
          <invoice id="000742024">
            <da>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>A</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>88754515</BS>
              <AD>Mike Tyson</AD>
              <AC>Mike Tyson</AC>
              <AZ>CZ6521232465</AZ>
              <AE/>
              <CG>A</CG>
              <AL>A</AL>
              <BZ>.</BZ>
              <AH>Some street</AH>
              <AI/>
              <AF>Some city</AF>
              <AK>Kraj</AK>
              <AG>CZ</AG>
              <AJ>885 21</AJ>
              <CR>21-11-2012</CR>
              <AY>602718709</AY>
              <AV>800184965</AV>
              <AP/>
              <AO/>
              <AQ/>
              <AN/>
            </da>
            <da>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>A</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>88754515</BS>
              <AD>Mike Tyson</AD>
              <AC>Mike Tyson</AC>
              <AZ>CZ6521232465</AZ>
              <AE/>
              <CG>A</CG>
              <AL>L</AL>
              <BZ>Mike Tyson</BZ>
              <AH>Some street</AH>
              <AI/>
              <AF>Some city</AF>
              <AK>Kraj</AK>
              <AG>CZ</AG>
              <AJ>885 21</AJ>
              <CR>21-11-2012</CR>
              <AY/>
              <AV>800184965</AV>
              <AP/>
              <AO/>
              <AQ/>
              <AN/>
            </da>
            <detaildc CH="0032" AB="234" BS="11888954" BB="32" BA="CZ" AT="" CI="7077329000002340342" AU="" DU="1Z48395" CB="CZK">
              <dc>
                <AW>0</AW>
                <CT>D</CT>
                <CU>C</CU>
                <BY>31-10-2012</BY>
                <CA>25-10-2012</CA>
                <CV>8151</CV>
                <BT>12111</BT>
                <CJ>1</CJ>
                <AM>0</AM>
                <DR>PC</DR>
                <DS/>
                <DO>25-10-2012</DO>
                <DQ>18:42</DQ>
                <CE>1</CE>
                <BH>8151</BH>
                <CY>8151 SHELL MALKOVICE P</CY>
                <DP>049336</DP>
                <DT/>
                <BQ/>
                <BR>500000</BR>
                <CN>30</CN>
                <CM>030</CM>
                <BO>160,00</BO>
                <BF>38,900</BF>
                <BC>6224,00</BC>
                <BI>32,417</BI>
                <CD>B</CD>
                <BG>0,600</BG>
                <BK>31,817</BK>
                <BJ>0,000</BJ>
                <DI>8</DI>
                <BP>20,00%</BP>
                <CC>CZK</CC>
                <BM>5090,67</BM>
                <BN>1018,13</BN>
                <BL>6108,80</BL>
                <BD>5090,67</BD>
                <BE>1018,13</BE>
                <DW>6108,80</DW>
                <CO>Nafta</CO>
              </dc>
            </detaildc>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>1</DG>
              <CN>30</CN>
              <CM>030</CM>
              <DF>160,00</DF>
              <DH>litr</DH>
              <DJ>20,00%</DJ>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA>P</DA>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>2</DG>
              <CN/>
              <CM/>
              <DF>160,00</DF>
              <DH>litr</DH>
              <DJ/>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA/>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>19</DG>
              <CN/>
              <CM/>
              <DF/>
              <DH/>
              <DJ/>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA/>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
            <dt>
              <AR>000742024</AR>
              <AW>0</AW>
              <CT>D</CT>
              <CU>T</CU>
              <CH>0032</CH>
              <BY>31-10-2012</BY>
              <CA>25-10-2012</CA>
              <AB>234</AB>
              <AA>234</AA>
              <BS>11888954</BS>
              <BB/>
              <BA>CZ</BA>
              <DG>8</DG>
              <CN/>
              <CM/>
              <DF/>
              <DH/>
              <DJ/>
              <DD>5090,67</DD>
              <DE>1018,13</DE>
              <DC>6108,80</DC>
              <DB>CZK</DB>
              <DA/>
              <AX/>
              <CQ/>
              <CP/>
            </dt>
          </invoice>
        </account>
      </account_group>
      <footer>
        <AR>999999999</AR>
        <AW>0</AW>
        <CT>S</CT>
        <CU>T</CU>
        <CZ>SS48</CZ>
        <BU>4</BU>
        <CH>0032</CH>
        <CK>2012-11-01</CK>
        <CL>23:04</CL>
        <CW>225</CW>
        <BX>1</BX>
        <CS>7</CS>
        <BW>0000000000000610880</BW>
      </footer>
    </etd>
    example - does not:
        select  x.*
        from os_import_docs d
             ,XMLTABLE('/etd/header'
                        PASSING httpuritype(d.document).getXML()
                        COLUMNS 
                           response_status varchar2(50) PATH 'AR'
                        )  x
       where d.object_id = 2587058
         and rownum = 1;  
    
     
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 6196, maximum: 4000)
    Thank you very much
    Tomas

    No error on my side.

    I just put in the comments the two columns:

    SQL> SELECT h.AR
      2       , h.CK
      3       , h.CF
      4       , i.AR4
      5       , i.AD
      6       , ddc.*
      7       --, i.AR5
      8       --, i.DG
      9       , ddn.*
     10       , h.CZ
     11       , h.BU
     12       , h.CH
     13       , h.CK7
     14       , h.CL
     15  FROM os_import_docs d,
     16       XMLTable(
     17         '/etd'
     18         PASSING xmlparse(document d.document)
     19         COLUMNS
     20           AR        varchar2(10) PATH 'header/AR'
     21         , CK        varchar2(10) PATH 'header/CK'
     22         , CF        varchar2(10) PATH 'header/CF'
     23         , CZ        varchar2(10) PATH 'footer/CZ'
     24         , BU        varchar2(10) PATH 'footer/BU'
     25         , CH        varchar2(10) PATH 'footer/CH'
     26         , CK7       varchar2(10) PATH 'footer/CK'
     27         , CL        varchar2(10) PATH 'footer/CL'
     28         , invoices  xmltype      PATH 'account_group/account/invoice'
     29       ) h
     30     , XMLTable(
     31         '/invoice'
     32         PASSING h.invoices
     33         COLUMNS
     34           AR4       varchar2(10) PATH 'da/AR'
     35         , AD        varchar2(20) PATH 'da/AD'
     36         --, AR5       varchar2(10) PATH 'dt/AR'
     37         --, DG        varchar2(10) PATH 'dt/DG'
     38         , detaildc  xmltype      PATH 'detaildc'
     39         , detaildn  xmltype      PATH 'detaildn'
     40       ) i
     41     , XMLTable(
     42         '/detaildc'
     43         PASSING i.detaildc
     44         COLUMNS
     45           DU        varchar2(10) PATH '@DU'
     46         , CB        varchar2(10) PATH '@CB'
     47         , DO        varchar2(10) PATH 'dc/DO'
     48         , CY        varchar2(20) PATH 'dc/CY'
     49         , BM        varchar2(10) PATH 'dc/BM'
     50         , CO        varchar2(30) PATH 'dc/CO'
     51       ) (+) ddc
     52     , XMLTable(
     53         '/detaildn'
     54         PASSING i.detaildn
     55         COLUMNS
     56           CI        varchar2(20) PATH '@CI'
     57         , BY_       varchar2(10) PATH 'dn/BY'
     58         , BM6       varchar2(10) PATH 'dn/BM'
     59       ) (+) ddn
     60  ;
    
    AR         CK         CF         AR4        AD                   DU         CB         DO         CY                   BM         CO                             CI                   BY_        BM6        CZ         BU         CH         CK7        CL
    ---------- ---------- ---------- ---------- -------------------- ---------- ---------- ---------- -------------------- ---------- ------------------------------ -------------------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        16-10-2012 ASFINAG POST_MAUT    1940,60    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        17-10-2012 ASFINAG POST_MAUT    1328,10    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        23-10-2012 ASFINAG POST_MAUT    1831,80    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48395    EUR        24-10-2012 ASFINAG POST_MAUT    867,30     Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI08P4993  ING. ANTONIN GURICA, 1Z48396    EUR        23-10-2012 ASFINAG POST_MAUT    2749,00    Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    
    
    
    000000000  2012-10-31 SS-CZL19   EI3496334  ING. ANTONIN GURICA, 1Z48397    HUF        29-10-2012 ALLAMI AUTOPALYAKEZE 233,50     Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI4DG3954  ING. ANTONIN GURICA,            EUR        22-10-2012 1047061              24267,70   Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI4E34269  ING. ANTONIN GURICA,            EUR        23-10-2012 TBS VIACARD          5671,60    Dalnicni poplatek                                                         SS47       4          0032       2012-10-31 01:25
    000000000  2012-10-31 SS-CZL19   EI8QF1520  ING. ANTONIN GURICA, 1Z48395    EUR        29-10-2012 LAMAIN               200,10     Dalnicni znamka                                                           SS47       4          0032       2012-10-31 01:25
    
    78 rows selected
     
    
  • How can I turn off the laptop after restoring it to factory settings?

    Hello everyone

    I'm selling my Portege R830-10 q If I want to restore it to the settings to factory (out-of-box state) AND THEN TURN IT OFF.

    I brought the laptop to factory settings successfully using the _TOSHIBA recovery Wizard_ and choosing * factory default software recovery (Recover State out-of-box) *. However, at the end of the process of recovery and after everything is back in place I was not able to TURN off the POWER to the laptop. It only gave me the option to restart. After rephrasing it, the Windows installation process starts.

    I don't want to install Windows, i.e. language, keyboard, user account, etc. I want to leave the Windows installation for the person buying the laptop to me. How can I turn off the laptop after the recovery of the system without having to install Windows?

    I would appreciate your help.

    Concerning

    Pedro

    When the recovery process is complete and you are prompted for a reboot just press start button / stop and turn it off. I think it's only thing you can do.

    Anyway, why not start Windows and go through the configuration option. New owner can modify this basic anyway parameters. As username Admin and language and the keyboard can be set as default.

    For example, if you have a picture of German recovery set to German. New owner can change in any case.

  • How can I connect to the internet on my iPod Touch if I have the broadband accessible and portable wifi active?

    How can I connect to the internet on my ipod touch if I have the broadband accessible and portable wifi active?

    Original title: ipod touch internet

    Hi keshu92,

    Thanks for posting your query in the Microsoft Community. I suggest to refer to the manual of the iPod or contact Apple support for more help and information.

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • How can I get off the annoying ads for Apple music for good?

    How can I get off the annoying ads for Apple music for good?

    Settings-> music-> see music from Apple (off)

    Does that help?

  • I delete an email, how can I remove it &amp; the sender of a search?

    I delete an email, how can I remove it & the sender of a search?

    I assume you mean global search. If this does not work, you can rebuild its search-db

    https://support.Mozilla.org/en-us/KB/rebuilding-global-database

  • How can I find all the plugins in the firefox browser

    HI I was wondering if I could ask a question how can I find all the installed plugins in the firefox lasted I would like to be able to know if, for example, if the shockwave plugin is updated and which version is currently installed in the firefox browser lasted.

    Thank you

    Hello Funny78, type Subject: addons in the address bar and then select plugins, add-ons manager opens and you can see the last version of the plugins (and other info), now click on the click to see if your plugins are up to date and see if it is.

    Thank you

  • I use the beta version, how can I return to the basis of Firefox?

    How can I return to the basis of Firefox instead of the beta?

    Backup of your profile and you will not lose your add-ons and bookmarks.

  • How can I enter in the Gallery of photos iPhone 6s

    How can I enter in the Gallery of photos iPhone 6s? Like the ones you see on banners or commercials. Thank you

    If you mean the shooting on the campaign of the iPhone, you have not. If Apple sees your work and think it would be a good fit, they as you approach. So, better than you can do is put your work out there on things like Instagram.

    otograph https://photographicpunctuation.com/2015/03/07/The-Story-of-My-Shot-on-iPhone-pH.

  • How can I transfer only the music I want?

    Hello.

    Our iMac iTunes is full of music for the whole family. How can I transfer only the songs I want on my iPod and my iPad?

    Second...

    When connecting from my iPad to my iMac USB cable the iPad goes into sync mode and transfers all sorts of things on the iMac and gets things from him. All I want is to transfer my music? How can I do this?

    Create your own playlists in iTunes.

    Connect your iDevice to the iMac - in the main iTunes window select your iDevice - menu drop-down upper left box located to the left of the music-movies, etc.

    You will see a list of 'Settings' for this device - select a tab and check the boxes of what content you want on your device.

    Also in the Group of settings select 'Summary' - from there, in the 'Options' section, you have a few additional items to choose from.

    MJ

  • I have a partitura with 18 instruments. Problem is that only 16 of the sheed. How can I vertically down the music?

    I have a partitura with 18 instruments. Problem is that only 16 of the sheed. How can I vertically down the music?

    Make a score set with 18 all instruments. Then use the scale parameter set score to all fit on a single page.

  • Stolen phone. How can I check when the last time saved my phone to my laptop (without my iphone of course)?

    My iPhone was stolen. How can I check when the last time that I backed up my phone to my laptop without my iPhone?

    Click here and either use iTunes to check or browse to the path of the backup manually.

    (142338)

  • Inability to RESUME download in ffox - how can you see if the server supports resume for example all filehosts

    HI: I tried to dl from filepost (260 file size) and sometimes it stops at 240.
    I tried the answer in support of "fake resume:
    https://support.Mozilla.org/en-us/questions/672203?ESAB=a & As = AAQ

    It did not work.
    How can I test if the site allows you to resume?

    or I need to test for a specific file on the filehost to resume?

    Thank you

    Hi Cor - el
    I found Opera. Opera browser does not compare to the greatness of firefox. Or help their support forums.

    But Opera a button BACK on their download window.
    The thing with the opera, is to open the download manager in a new window and make it look to Firefox Add-on like big DownloadManager Tweak.

    Then, he looks the same, so that you know what you're doing
    AND it has a download / RESUME button

    for info:

    > I tried Opera download on all those failed (try the rename delicate) Opera RESUMED in all cases test 9

    > and where I could not firefox to resume, not once in all the test cases 9.

    so my conclusion is the workaround is not very good. And it had nothing to do with the server, I was downloaiding of (in test these 9 cases)

    Perhaps in a future version:-firefox may also have the wonderful resume button and the Add on Download Manager TWEAK, may also have the CV download button.

Maybe you are looking for

  • Fixing orange light flashing on Airport

    I use an Airport Extreme Base Station for a MacBook Pro running OSX 10.11.5 and the yellow LED flashes. So far I'm not having any problem, but I don't want to suddenly have a problem when I REALLY need an internet connection. I found a thread of comm

  • Qosmio G20: Feedback speaker + HD DVD will not play

    I usually don't use the internal sound on the laptop it is normally plugged into my hi-fi using optics and a creative labs USB device. However, I am experimenting with playing a DVD hd through my TV using the hdmi output connection. The two DVDs, DVD

  • How can I increase the resolution (DPI / PPP) an image scanned on my iMac?

    How can I increase the resolution of a scanned image. I am currently using a new all-in-one Photosmart HP 5512, I installed everything to the natural drivers have a usp cable connecting the PRINTER to my iMac. I'm on OS 10.7.4. The HP icon utility al

  • Miniature bar jobs have went wrong...

    Hello. In Vista Home Premium, I always liked the taskbar thumbnails when I have several windows open. Ideally, they kept informed me that I had to go in each window. Today, all of a sudden, all the thumbnails show exactly the same thing. I have my Wi

  • Weird ObjectChoiceField in OptionsProvider

    I don't really know if it is related to the OptionsProvider, but here is the screen with the problem (labels wrapped): I have several ObjectChoiceField- s, added to the screen, and when I open it first time in the application I see that. The next tim