Create a db with a simple form application, based on a remote table

Hello

I have APEX 4.0 installed on my laptop and a distant DB (always in my local network) with EBS R12 on it.
I created a dblink with my HR schema and updated my tnsname.ora. Now I can connect and browse the remote db with schema APPS/APPS.
I can also browse table away from my local db user 'HR '.

for example: select * from emp@apex_dblink; recover data without problem even if I'm a developer sql or standard interface of APEX with my APEX user.

As a training, now I want to create an application database from scratch on a tabular presentation with the HR schema. When I browse for the table, I don't see my table 'emp' remote and when I push the "emp@apex_dblink" research, he said only: "emp@apex_dblink is not a valid table name.".

Some have said, it is because of the 'grant privilege' and 'create the synonym' but I don't know if like my dblink I should think to solve this problem...
In addition, I do not know much about the administration and do not know where to go...

Here is some information:

DB user: hr/hr@XE
APEX user: ulrich/ulrich-> name of the workspace: APEX_WORKSPACE

That's your time and your response.

ARO

Ulrich

Apex gets his table & veiw your local database catalog definitions. Are two ways to do what you want:
(1) create copies of the tables/views you want and create your forms & reports based on these tables/views. Once you have your app work (at least the table/view definitions are now known to Apex), delete local tables and replace them with synonyms for remote tables.

-- run in local Apex database
drop table emp;
-- I'd recommended naming your DB link after the remote DB name to keep easy track of where it's pointing
-- create database link EBSPROD connect to HR using HR123 identified by 'EBSPROD.world';
-- or include the schema name if you need multiple DB links to that remote DB
-- create database link EBSPROD@hr connect to HR using HR123 identified by 'EBSPROD.world';
-- create database link EBSPROD@scott connect to scott using tiger identified by 'EBSPROD.world';
-- select * from emp@EBSPROD@scott;

create or replace synonym EMP for EMP@apex_dblink;

(2) create local views to remote objects. Apex point to these points of view the.

-- run in local Apex database
create or replace view EMP as (select * from EMP@apex_dblink);

Published by: maceyah on March 3, 2011 09:04

Tags: Database

Similar Questions

  • Create a base with a sheet form

    I am trying to create a basic shape that fits the style of BB10.

    I am wanting the shape to resemble the form on this page

    https://developer.BlackBerry.com/DevZone/design/BB10/sheets.html

    How can I get the buttons in the title bar? What presentation should I use for a basic for like one on the page.

    Thanks for any help or suggestions you may have.

    This is easily done

    an example:

    titleBar: TitleBar {
            id: theBar
            title: qsTr("Feedback") + Retranslate.onLanguageChanged
            visibility: ChromeVisibility.Visible
            dismissAction: ActionItem {
                title: qsTr("Cancel")
                onTriggered: {
                    // do your work
                }
            }
            acceptAction: ActionItem {
                title: qsTr("Send")
                onTriggered: {
                    // do your work
                }
            }
        }
    
  • Publish a multifolio Viewer with DPS simple edition

    Hi all!

    I'm trying to publish a periodic magazine of DPS.

    How to create a viewer multi-folio with the unique edition of DPS?

    See you soon,.

    Patomo

    You can create Apps integrated with DPS simple editing. Cannot create problem multi apps using DPS SE or DPS CC.

    To create Multi question applications, you need go to the DPS Professional Edition or Enterprise Edition.

  • How can I create a PDF with editable fields?

    I have a problem with my Microsoft word at the normal address form. Customers who fill out the forms, complete their area prescribed in form, but some of them also change the original text of the form. I though it would be better if direct to a digital solution by which I can have all my PDF form, but the need to 'fill in the fields' remains a problem. Is there a way where I can create a pdf with editable fields form my clients to fill out the requested information? This solution will also allow my clients the advantage of not having to print forms but rather to complete on the computer. Help, please.

    It seems the comment by Bernd, this version 7 (Standard) did not have this

    the fact of functionality, but version 9 (Standard).

    See: http://www.adobe.com/products/acrobat/matrix.html

    However, as I wrote, if you want users to be able to save the file after

    they filled, you will need version 9 (Pro).

    And Acrobat has an assistant who can pick up the fields that were created in Word

    and convert them into Acrobat form fields.

  • a simple form with the "submit" button: can it look better?

    Hi all

    I did not imagine that a simple form (with Textfields and ChoiceFields) could do a lot of problems:

    I would like to ask a few basic questions about it. First the code (Simplified):

       GridFieldManager formfm;    
    
            EditField surname = new EditField("", "-", 25, Field.FIELD_LEFT | Field.FIELD_VCENTER | EditField.FILTER_DEFAULT);
        EditField email = new EditField("", "-", 25, Field.FIELD_LEFT | Field.FIELD_VCENTER | EditField.FILTER_EMAIL);
    
        public FormFieldManager(){
    
            formfm = new GridFieldManager(2,0);
    
            formfm.add(new LabelField("who: ", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
            String[] choicewho = new String[] { "Mr", "Mrs", "Miss" };
            ObjectChoiceField who = new ObjectChoiceField("", choicewho, 0, Field.FIELD_LEFT |Field.FIELD_VCENTER);
    
            formfm.add(who);
    
        formfm.add(new LabelField("Surname :", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
        formfm.add(surname);
    
        formfm.add(new LabelField("E-Mail :", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
        formfm.add(email);
    
        ButtonField sendButton = new ButtonField("Send", Field.FIELD_HCENTER|ButtonField.CONSUME_CLICK);
        formfm.add(sendButton);
        FieldChangeListener listenerSendButton = new FieldChangeListener() {
        public void fieldChanged(Field field, int context) {
    
        try {
            String data = "send=true&surname=" +surname.getText();
            data += "&email=" + email.getText();      httpPost("http://bla/sendData.php", data);
        } catch (IOException e1) {
            e1.printStackTrace();
        }
        formfm.deleteAll();
        formfm.add(new LabelField("Grazie!"));
        }
      };
      sendButton.setChangeListener(listenerSendButton);
    

    now my questions:

    (1) don't miss something (style) for the EditFields? At the present time, it is possible to change them, but the behavior (9700 Simulator) is strange: it is 'difficult' to get from one field to the other and everything moves sometimes when editing...

    How do you define a standard form that seems 'normal' and can be completed as expected in other applications? (Swifts nothing, it is possible to access the next field with the expected key / trackpad (I have no touch screen)) and so on?

    The EditFields do not even have a border, but I guess that's the standard case on BlackBerry.

    (2) the ObjectChoiceField is also very ugly... It's too big... Is it not possible to reduce the size without much effort? (I couldn't everride it correctly). (I also tried with radio buttons, but unfortunately I can't add a RadioButtonGroup to my LayoutManager, strange)

    (3) it is perhaps a stupid question: I can't get the text selected from the ObjectChoiceField (to send it can in data).

    AM EditField, it's simple:

    editfield.getText()
    

    But how is it with my ChoiceField?

    I found getSelectedIndex() but it provides a value int not text...

    Thanks in advance for any suggestions!

    silizia

    1. you have defined fields as follows:

    EditField family name = new EditField ("vorname:", "-", 20, EditField.FILTER_DEFAULT);

    The 20 means 20 characters, so it's all the field allows you to enter.

    2. Yes, the mail filter is pretty useless.  Use the EmailAddressEditField instead

    3. you can play with the scroll, but the best thing to do is to set the focus on the first field that you want people to pull together - usually the upper part of the form.

  • I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    1. Draw a set of concentric half circles also spaced, stacked so that the outermost is the most remote.
    2. Use the text tool to add text to the outermost path, thus creating a PathType object.
    3. Select all the paths. Type > threaded text > create.
    4. Text tool: click at the end of the text in the object of PathType. Continue typing.

    > If I do that it will not type more.

    A Warp effect is a direct effect. When it is applied to the type of objects, they are still editable text. The chain will deform, however, the text also, not only the paths to which it is attached. Sometimes you want that, sometimes you don't have.

    JET

  • I created a pdf with blocks of text to fill out form. Is it possible to add a record button instead of having someone go to produce and record?

    I created a pdf with blocks of text to fill out form. Is it possible to add a record button instead of having someone go to produce and record?

    You can add a save button slot for your file, but not a button Save.

  • Upload file with Web Forms application problems

    Anyone having problems with the web form file app downloads.

    We have an existing site that suddenly the last week or so has expire issues downloading files (thumbnail and downloadable (for example 35 mb PDF) via an Add element form.)  FTP upload (Transmit) work without problems. Downloads via the Admin File Manager application are also very very slow.

    This form worked perfectly fine before. No NOT.

    Updates recent broken this feature or is there something else? Any body with ideas?

    David, you give the impression that if I am a member of the staff of BC - I'm not.

  • Why doesn't my IX Acrobat open PDF files created with my Adobe CreatePDF application?

    My Acrobat IX does not open PDF files that I created with my Adobe CreatePDF application

    What exactly happens when you try? You have Acrobat 9, or actually just the free Adobe Reader?

  • where to start with loging in an application

    Hello. Creating a safe space for a BB app being created using SDK5. Very simple with just a user name and the password required. At the login screen and the other screen. Don't check as empty fields etc. But I don't know where to start with the actual coding. More precisely:

    1. where should I store the username and password - what is best practice? Is - XML, databases, persistent storage file?

    2. in what format should I keep it should for example the details be encrypted plain text etc?

    3 - How can I verify that the information entered is asme as whats been stored?

    4 - How can I signout so that details must be entered again again?

    Any help / pointers / links to examples would be appreciated. See you soon

    Welcome on the support forums.

    1 I store small amounts of data in the persistent store, it is the easiest way.

    2 feel free to encrypt, but unless someone knows the key to your persistent store only you can read. If you use a custom object, another application will not be able to open it, but usually I decide by the desire to have data survive an update (custom objects are removed on uninstallation)

    3 is equal to

    4 remove the persistent store, for example

  • Create a clipping with a background color mask?

    I recently made the switch using CorelDRAW for my vector art to mainly using Adobe Illustrator. I know of course that there will be some features that are exclusive to Illustrator and CorelDRAW exclusivity, but I've done the research on trying to find the "equivalents" in Illustrator for some tasks I could do in CorelDRAW.

    I know that the tool in Illustrator clipping mask is very similar to cutting power in CorelDRAW. What I'm trying to determine is if it's possible in Illustrator to create a clipping with a background color mask. In CorelDRAW, I could create a shape with a color fill Uni, and then insert an image with a background transparent, as shown below.

    Capture 1.JPGCapture 2.JPG

    Now, in Illustrator, when I create a shape with a color, then he and a pattern that is transparent to create a clipping mask, the color disappears:

    Capture 3.JPGCapture 4.JPG

    Is there a simple way to create a clipping with a solid background color mask? The only work around, I've found so far is a form of solid color, the same size as what I want to be the size of cutting with my transparent motive, then staple in another form of the group. As I said though, just curious to know if there is a simpler way to do this, or if this is the method I'm stuck with.

    Thanks for any help!

    A clipping mask can have its own fill.

    There are two methods:

    -After creating the clipping mask, select the path of masking with direct selection and apply a fill

    -Use the option 'Draw inside' to create the mask. Next draw is at the bottom of the tools Panel. With draw inside the maks object will not lose its filling.

    Illustrator help | Using drawing modes

  • Create the form for selecting data in multiple tables

    Hello

    I'm getting APEX for the first time and I just read 2 days dev Application Express guide

    I tried to play and I can't create a report with the form that select data from several tables

    What I want to achieve is a report we'll say 'USERS' makes MANAGER_ID ID, NAME, with a form that allows me to create, delete, change users

    The problem is that, once the report with the form created, if I click on create (to create a user) it will ask me for id, name, and manager_id

    I need a water drop down which allows me to select managers in the table manager instead of manually insert Director id

    How do I do that?

    Thank you!

    HI Chris,

    LOV will use this magic.

    Search:

    Kind regards

    BEnjamin

  • Simple form: just 1 text field and the radio button 2...

    I have a question about the Muse Widgets when it forms.  I have a very simple interface, I want to try to apply an additional tax of an amount of entry; I want to give the user the ability to select Add fresh or not.

    The only widget I found on current Muse was a Simple Contact form emails. I've stripped down to 1 input text, group 1 radio. I exported html code, added in the onclick event in the HTML for the radio buttons perform the calculation of the additional tax.  On the action of the form = "xxx", muse creates a few php files for validation and finally sending the form as an email, I have a test in the form e-mail address.  I can stub out that php and put in my own actions to waive the sending of the email.  I have 2 questions: ONE QUESTION) on the level of code there is a control of the syntax form fields (corresponds to the entered text input, is a selected radio button, etc.). SimpleContact form comes with 3 < p > < / p > due to the action of the form = "xxx" statement. The 3 lines correspond to the errors, which is a generic "server has encountered a problem." (something like that).  Does anyone know what code is to identify the error and how it is returned to the call statement? MuseUtils.js?  It is not in the action = "xxx" php referenced file.  It maybe too much, I'm interlacing syntax, semantic validation on a form after the muse html export.  Second QUESTION) is before all this... it all simple forms of 3rd party, I can use (Group 1 radio 1 text, drop-down list), which I can integrate Muse?  Looked at Muse-themes.  Don't have a complete package of e-commerce, yet.  (This is for a non-profit and trying to reduce recurrent costs).  Sorry, this is so wordy, appreciated by any direction.

    Answering the second question, you can check out these alternatives:

    http://musewidgets.com/search?q=form

    Thank you

    Sanjit

  • Need help with a simple calculation.

    I will apologize to the front. I have no knowledge of writing Javascripts. I can use them if someone writes to me, but that's all. I created a simple form with money dealing. I have boxes of different text for the user to enter a number based on what type of coin it is.Currency.jpg

    In the left column, they will enter a number. I would like for the right column counting from that. However, the quantity of money (ie. 100, 50, 20, etc.) is not a text field. It is simply the text entered in another program. I'm looking for is a way to do this without having to do the amounts in currency a text field. Something along the lines of X * 100 is.

    If you can give any help or suggestion, I'd be very happy.

    Thank you.

    You will have to hard code the quantity of money in the script.

    In the first line, create 2 text, Text1 and Text2 fields. Use what the calculation script personalized to Text2:

    If (this.getField ("Text1") ".value! == ' ') {}
    This.getField("Text1").value = Event.Value * 100;
    }

    Clears Text2 if nothing is in Text1
    else event.value = «»

    The second pair of text fields would be "50" instead of "100" in line 2, etc.

  • 'Less before' a simple form on top a clipping mask complex

    I have a clipping path that consists of:

    1. a range complex vector shapes (a model) and

    2. a simple form on the top.

    My boss seems to be inside the simple shape, because of the clipping mask.

    Now, I would like to 'Punch out' a shape in the middle of my clipping path and have the Punch to be transparent. After having created my punch-out form, I drag to the same layer that has the clipping mask, select both (the clipping mask is in the form of punch-out) and select 'less before' window of pathfinder.

    It does not work.

    All opinions are appreciated.

    cattle,

    What happens if you give shape punch-out a fill white and no respect, then select the shape and the mask in the transparency palette dialog box and clipping check do with Clip opacity mask unticke and mask invert checked (you can also use black and have unchecked Invert mask)?

Maybe you are looking for

  • install iOS final version during beta

    I was in the beta of iOS as many people program and ask yourself how to install the final version of the v10. iTunes (12.4.3.1) Watch v10.0.1 iOS, which I guess is actually later be one, but don't really know. Urgent 'Check For Update' translates 've

  • Adding shortcuts to the allures of IPad

    There is an option in the settings > general > keyboard that says ' enable shortcuts "I activate. But the only available shortcut is the shortcut of Apple factory. This allows a period at the end of every sentence if the SPACEBAR is double typed. Wha

  • M4-1115DX: HP Recovery Manager backup and Retrieval

    I had problems with my laptoprunning 8.1. I backed up my files with HP Recovery Manager on a WD My Passport Ultra. I reformatted now running back to 8.0. Now how can I get my files on my laptop. any help is appreciated.

  • Two networks different encryption WEP/WPA is possible?

    Hello, I have the wrh54g wireless in my desktop pc using WPA encryption and I have a laptop that can't accept WEP. How can I add another network in the preferred networks with WEP encryption for my laptop? Please notify. Thank you. Menk

  • WRT54G2 - no internet connection

    I have just replaced my WRT54G with a WRT54G2 router.  I used the same settings that were on my WRT54G.  Everything works fine as long as I have the blue cable plugged into my computer and the other end into Port 1 of the router.  As soon as I discon