How build a page that displays a table not known until run time?

Hello

I am wondering weather anyone may get an idea of how to achieve the following requirement.

I need to display a picture on a page where the design-time, I don't know the name of the table, and I do not know the structure of the table. That looks a lot like the table for SQL Workshop object browser display.

I don't know the name of the table during execution; This is a column on a different page of data value. So I need the new page have passed as a parameter to the name of the table. This page would need to be "View only", no insert/update / delete. Just query, sort, scroll through your data...

Does anyone know how to do?

Concerning

Peter

pschneider1968 wrote:

I am wondering weather anyone may get an idea of how to achieve the following requirement.

I need to display a picture on a page where the design-time, I don't know the name of the table, and I do not know the structure of the table. That looks a lot like the table for SQL Workshop object browser display.

I don't know the name of the table during execution; This is a column on a different page of data value. So I need the new page have passed as a parameter to the name of the table. This page would need to be "View only", no insert/update / delete. Just query, sort, scroll through your data...

Does anyone know how to do?

It's not difficult, but it raises the question of why it is necessary to create a dynamic component? Why don't you know the name of the table and the structure at design time?

  1. Using the page Wizard, create a classic report page.
  2. To the Report Source, select SQL query.
  3. Enter the source as a function body returning a SQL query. The dynamic table name must be reorganized to prevent SQL injection attacks:

    return 'select * from ' || dbms_assert.sql_object_name(:p2_src_table)

  4. Set the column headings to the generic columns
  5. The maximum number of columns value an upper limit that is suitable for your needs.
  6. Complete the report wizard of page as required.
  7. Edit the page and add the P2_SRC_TABLE element to contain the table name parameter in the report area. Create it as a text field, with a maximum width set at 61and Condition Type defined to never , so it is not included in the rendered page.
  8. Change the table name in the P2_SRC_TABLE in the link on the first page. Session state protection must be used to prevent the alteration of the value of table name.

It is a very simple example. There are important security implications in what you propose to do and other considerations such as how to determine the column headers for the report.

Tags: Database

Similar Questions

  • With Adobe Muse when I make a change, I have a second user Admin how do ensure us that these changes are not overridden

    With Adobe Muse when I make a change, I have a second user Admin how do ensure us that these changes are not overridden

    If you're both using Muse, then it is no different that is both using PS, you HAVE, Word, etc. You must use a mechanism that allows all both have access to the most recent version of the .muse file (i.e. the creative Cloud Files, Dropbox, file server location folder, etc.).

    Changes made in the browser will be able to be synced to the .muse file. Changes in Muse are saved in the .muse file and if you go to work on the site of Muse on two different machines then you must have the updated on the other machine .muse file.

  • How to remove pages that are given by onNavigateToTransitionEnded() signal in qml

    Hello

    I want to delete these pages that are given by onNavigateToTransitionEnded() signal in qml.

    Thank you

    Ankur

    I have a solution correct me if I'm wrong.

    a property page

    onNavigateToTransitionEnded: {}

    (var prop in pages) {}
    page = page [prop];
    page. Destroy()
    }
         
    }

  • How to make apps that I downloaded does not appear in the settings?

    I have to make sure that the apps that I download do not appear in my settings... How do I do that?

    What are you trying to say? What do you mean not appear in settings. You must have access to make the changes to the applications. It makes no sense at all.

  • Unable to access windows media player toolbar and also how do I check that port 1935 is not blocked?

    Original title: another question about Windows Media Player

    Some about WMP reading, apparently, there's a tab "Tools".  I don't see.  Where he could hide?  Also, I use the firewall of Windows (XP).  How can I check to see that port 1935 is not blocked?

    Hello

    To access the windows media player toolbar, press Alt, or right click on the arrows at the top of the media player.

    See the articles that contains information about firewall ports.
    How to manually open ports in Internet Connection Firewall in Windows XP
    http://support.Microsoft.com/kb/308127
    Troubleshooting settings of Windows Firewall in Windows XP Service Pack 2 for advanced users
    http://support.Microsoft.com/kb/875357
    Windows Firewall may block some programs to communicate on the Internet after you install Windows XP Service Pack 2
    http://support.Microsoft.com/kb/842242

  • I tried to backup my iPhone several times. I get a message indicating that some files were not available at the time of the backup. How can I solve this problem?

    I attempt to backup my iPhone several times and it does not backup. I received a message stating "several files were not available at the time of the backup. How can I solve this problem?

    Hello Lope8725,

    Looks like you are trying to backup either iCloud or iTunes, but you have found an error on files being unavailable. Can reply you with the exact wording or a screenshot of the message you are getting?

    In the meantime, you can solve the problem with either of those two sections depending on whether or not it's iTunes or iCloud:

    If iCloud backup could not be completed or if you can not restore

    or

    If your iTunes backup could not be completed or you cannot restore from a backup

    See you soon!

  • How to remove the black line with a canvas stacked at run time?

    Hi all
    I developed a canvas stacked in a table of content, when I run the form takes the apeared canvas stacked with a black line.
    How to remove this line, or how to remove this line at run time?
    I tried to do by putting (no line) in the Toolbox of the line color tool after selecting black line one and after selecting the stacked another painting once, but this has not solved the problem!

    I need something else:
    I put the canvas stacked to the block of data in detail and did not appear since I run the query in the database block
    How to make appear stacked directly canvas before you run the query in the master data block?

    What is your version of forms? I don't know what black line you're talking about.

    Regarding the display of the canvas, first make sure it isn't about who has the focus and she rides (located under the canvas completely or partially) your canvas stacked, this will cause to the canvas to hide in order to display the item that has the focus. And you can also try using SHOW_VIEW ('your_stacked_canvas'); in your form, this will show the stacked canvas.

    Tony

  • my pc cannot accept the installation of antivirus, it shows that the system is not suitable for running ms Dos and ms windows app com help me install

    my pc has failed to install any antivirus it shows that the system is not appropriate for the execution of ms - back and ms windows application help

    Hello

    problems to install your anti-virus software, contact the manufacturer of the anti-virus

    also scan for Malware

    Download update and scan with the free version of malwarebytes anti-malware

    http://www.Malwarebytes.org/MBAM.php

    You can also download and run rkill to stop the process of problem before you download and scan with malwarebytes

    http://www.bleepingcomputer.com/download/anti-virus/rkill

    If it does not remove the problem and or work correctly in normal mode do work above in safe mode with networking

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode with networking with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.
  • How to create a PDF page that displays in Email and contains links to a page in the full PDF.

    Mac CS 5
    I was able to create the PDF page and activate links to pages in the PDF document. But when I test - send two files to myself, the links do not work.

    You cannot control how, or if, the PDF files are presented in an e-mail. They are just incidental. SOME mail readers will find a PDF attachment and view automatically, in a way or another, perhaps as an image of dead rather than a direct PDF. Some will do it only for the single page PDF. Most don't do at all.

    If you want an interactive email with design and links, you can work with HTML.

  • How can edit Pages that it has been saved withot it locked?

    Very frustrated with 'Pages '. After recording and storage offline on HD, it crashes and I can't revise. He wants me to a duplicate.

    Hi fijim,

    Thank you for using communities Support from Apple! I'm sorry to hear that you're having these problems with the Pages. If the document in question is displayed as locked, in most cases, you should be able to unlock it as described in the following article:

    Pages for Mac 5.0: lock a document

    Concerning

  • 5150 how cancel info page that prints after each document?

    After each document to print on my deskwriter 5150, it prints a page of information that includes:

    File name, directory, model, title, subject, author and so on (about half a page).  I don't know what I did so that it starts to do that, and I can't stop.  I'm killing trees useless with this and pulling my hair and I want him to stop!  Any help will be appreciated gratefully.  Thank you.

    azgirlinfl

    Are you printing from Microsoft Word? Because the word (or MS Office 2007) has the ability to print the Document properties after that the document itself is printed. To disable it, click on the button of MS Office (or whatever we call it) to the left of the Office Ribbon and click Word Options. Now click on display, and under Print Options, uncheck "Print Document Properties". This should prevent this.

  • I've updated for Mozilla 9.01 and it fails to display my home page that the URL is not valid

    My Update tab is missing and I can't go back to the "restore previous Session '. If I change my homepage and if I close the browser and re - open my new home page is not.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    If the menu bar is hidden, then press the F10 key or hold down the Alt key to make the call of menu bar.

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible: "view > toolbars".

    • Open the Customize via "view > toolbars > customize.
    • Make sure the "Bookmarks Toolbar items" are on the personal bar
    • If the "Bookmarks Toolbar items" is not on the bookmarks toolbar, then FRY it in the toolbar palette in the window the bookmarks toolbar Customize
    • If the missing elements are in the toolbar palette then drag them from the window, customize the toolbar
    • If you do not see an item on a toolbar in the toolbar palette and then click the button "Restore default" to restore the default toolbar set up
  • How to make PAGE POINT DISPLAY as 'fat '?

    Hi friends,

    I want my text element of display greater and 2 deep-space etiquette.
    Example:
    Name:    SAMANTHA 
    Thank you very much

    You can perform the following operations

    (1) set up the source of the displayed item to include "spaces". Is an example that uses a pl/sql for the source expression

    '    ' || :P7_CUST_FIRST_NAME
    

    (2) to specify attributes of the HTML form element

    style="font-size:125%"
    

    The displayed item will be now displayed in a font size that is the basis of 1,25 - font size

    CITY

  • How to get pages to display in the page layout palette?

    Yesterday I updated InDesign (via CC) and problems appear as no pages showing in the page layout palette, when there are 17 pages in the document. I rebooted twice and he has not made a difference. Help!

    Found the problem!

  • I was able to score pages, and now the option is missing. How to add pages that are open in tabs

    There is an option under bookmark but now he is absent since I updated firefox

    You can still see the entry "bookmark all tabs" in the bookmarks menu if you use the keyboard Alt + B () to open the bookmarks menu. Some menu entries are hidden if you use the mouse to access the menu bar or the Firefox menu button.

Maybe you are looking for

  • C8180: C8180 prints but nothing on the page

    I feel and the printer works correctly, as is printing the page, but once completed, there is no ink on the paper.  Any offer of cartridges are good and replaced the black is new.

  • I lost my desktop in Windows XP Home Edition.

    I lost my desktop in Windows XP Home Edition. The only thing on my monitor is my wallpaper. There are no icons, toolbars, task bars, and I can't right click for properties - nothing happens.I can access some programs through the Task Manager. But the

  • How to remove a partition unallocated in windows7

    I have recentlt bought a laptop which has 500 GB of space, I tried to make 2 partitions and has managed to create one, the other partition is unallocated and unable to appoint or remove, how to remove it?

  • All of a sudden my system aero theme does not work!

    All of a sudden my system aero theme does not work! Before that it worked. But it doesn't now. What should do? Original title: aero theme!

  • AF:train - Enable to train at the click of a button

    JDeveloper version - 11.1.1.7.0By default, when you use a component to train on a page, the 2nd train stop is enabled by default. Is there a possibility to disable and enable the same after the click of a button to the 1 train stop.