How to display the phone number with code in the text element

Hello friends,

I have table "customer_management. In this table, I have a phone number of field in the varchar2 data type.
the storage format of the telephone number is: (code-phone number) for example 0902334-324345
Ok. I created a form of this table in the data block. This form I want to view the phone number and code in two text elements... So, should I create a query to do this... Pls help me with a query... What trigger is suitable for it?
Please give me example query...

Thank you

Hello
If you are using

:TAA_CUSTOMER_MANAGEMENT.CONTACT_PHONE_NO
:TAA_CUSTOMER_MANAGEMENT.NUMBERS

are these above said are elements not db?
If yes then its get accessor for fill in post-interrogez trigger.
Just check substring and instring functions that return the value.

Published by: user13329002 on March 3, 2011 01:47

Tags: Oracle Development

Similar Questions

  • How to display the text "APPROVED" the report as a background

    Hello

    I want to display the text "APPROVED" on the purchase order report as a background text... How can I do this?


    Please help me...

    Hello

    As ayoub said, 'standard text' can be rotated.

    Another solution is to use an image instead of a standard text.
    ' Insert a picture in the "margins"

    concerning

  • How to display the text in the console with printf?

    Purpose: Debug code CPP of cascade.

    Error:

    'myMessageOutput' was not declared in this scope

    Question: How to declare the class Sub cascading ++?

    How do printf?

    Mini cod is on the bottom of

    Default empty project template
    #include

    #include
    #include
    #include "applicationui.hpp".

    #include
    #include

    #define QT_DECLARATIVE_DEBUG

    using namespace bb::cascades;

    void myMessageOutput;

    Q_DECL_EXPORT int main (int argc, char * argv)
    {
    This is where the server is started.
    App app (argc, argv);

    qInstallMsgHandler (myMessageOutput);
    #ifndef QT_NO_DEBUG
    qInstallMsgHandler (myMessageOutput);
    #endif

    QTranslator translator;
    QString locale_string is QLocale () .name ();.
    QString file is QString ("SensorBB10_ %1") .arg (locale_string);.
    If (translator.load (filename, "app/native/qm")) {}
    app.installTranslator (& translator);
    }

    New ApplicationUI (&app);)

    Return Application::exec();
    }

    void myMessageOutput (QtMsgType, const char * msg) {}
    fprintf (stdout, "%s\n", msg);
    fflush (stdout);
    }

    Thank you for your attention,

    Hello

    Define the function myMessageOutput before main() or, if it is applied under before main() - declare it above main():

    // somewhere above main():void myMessageOutput(QtMsgType type, const char* msg);
    Q_DECL_EXPORT int main(int argc, char **argv)
    {
    ...rest of the code...
    }
    
    void myMessageOutput(QtMsgType type, const char* msg){...implementation...}
    

    In addition, that you can call qInstallMsgHandler (myMessageOutput) twice.

    It should not be used in the Release version, so you do not want to leave the only inside ifdef.

  • How to display the text in the cell for CDA on the report

    Hi all

    I use en-Studio of reporting. Now my requirement is I want to show the text in the cell that I added under CDA - column Variance in the report. So for this I used the text of the cells and within this function function, I gave the line, column and page number. But it does not show the text in the cell that I added for hyperion planning on the report. But if I am referring to another cell text that I added to the variance of Yeartotal I'm able to see on the report.
    Can someone tell me why I'm not able to see the text from the cell that I added to the variance of the CDA?
    Pls tell the way by which I can return.

    My formula looks like this-

    < < TxtCase ("Grid1", 78 H, 1, $CurrentMonth = "October") > > I am very confused about the last parameter. No error or the kind of argument not valid message, but it still all just empty.



    Thank you

    I think you're out of luck on this one.

    Cell notes are stored in the planning of the HSP_CELL_NOTE and HSP_CELL_NOTE_ITEM tables. Done HSP_CELL_NOTE refers to a member for each dimension that is pointing to the intersection where the note should be linked. YearTotal is an intersection, even though it is dynamically calc would be in essbase. Each HSP_CELL_NOTE NOTE_ID points to one or more notes that are stored in HSP_CELL_NOTE_ITEM. This means that although you can save a note in YearTotal, it does not display when you report on the Y-T-D (Oct) which is purely dynamic. It does state that when you reference specifically an intersection that is stored in HSP_CELL_NOTE.

    It would be nice if you could see all the notes stored in Jan: Oct when your report contains a Y-T-D (Oct), but it doesn't.

    You can always write a stored procedure to go against the tables and the report in excel.

    Dave

  • How to display the text tabled at run time values

    Hello
    I want to do a form in oracle 10g where I m using a for loop & I want to print each value in the text of the filed form which are generated by loop for.

    My loop generate values as a means
    123
    156
    789
    If my deposited text should print first
    123 then
    156 then
    789
    & clear text filed before printing the next value.
    How can I do this


    regards

    If I understand you want this;

    (Your REQUIREMENT to loop here) LOOP
    : text_item =: text_item | CHR (10) | : var;
    synchronize;
    END LOOP;

  • How to display the text as a hyperlink (htmlText doesn't)

    Hello

    In one of the question of the Forum, I saw this answer to a question.

    The issue is that he wants to make the text (Mx:Text) appear as a hyperlink. in fact given solution was to use

    < mx:Text htmlText = "Some Text entered" / > ""

    But when I tried this, it does not work for me (I use FLex 3)

    Any ideas as what do book to make it work.

    Or try this to avoid actionscript altogether code...

    ' http://Google.com' > Some Text entry <>/ ' / >

    Kind regards

    Select this option.

  • How to display the text of other procedures users?

    Hi people,

    I know only EXECUTE and DEBUG are privileges that can be granted on a procedure for private to other users. In the case where if we want to display another user coding means that we can do? Please suggest me. I got, privileges of debugging of execution on a procedure to other user.how can see it?

    Concerning
    VIDS

    Watch all_source

  • How to display the text label to the CPP QML

    Friends good day

    I want to display text in the label of a property in MyApp.cpp QString

    I know that I can get the file as follows:

    in QML
    {label
    objectName: processorID
    text: 'myText '.
    }

    in C ++

    QObject * processorID = root-> findChild ("processorID");
    QString procid = processorID;

    But to do this:

    QString msg = QString (procid);

    I get an error where I can't convert object to string.

    A way to fix it?

    Thank you

    To access the label outside of the scope of the root, you can access them as

    Label *label = bb::cascades::Application::instance()->findChild

    -Dishooom

  • How to display the drop-down list box in MS excel by using labview report generation toolkit? pleasepost code block diagram?

    How to display the drop-down list box in MS excel by using labview report generation toolkit? Please post the block diagram of the code so that I can able to generate from the drop-down list box in excel with the menu drop-down...

    Like this. (edition, use the reference forms instead of the reference to the worksheet)

    Ben64

  • How to display the path of a contact with a program?

    How to display the path of a contact with a program?

    Hey,.

    Follow the mentioned below as follows:

    1. Go to Contacts > Contacts.
    2. Highlight the contact to which you want to see the way through the program.
    3. Click on the newspaper story > program activity.

    Thank you...

  • How to restore the text bar with: Code, design, Split

    Question, how to restore the text bar that had: Code, design, Split. I have Dreamweaver CC 2014 and windows 7

    In the latest version of DW, Design and fashion Live view are now a menu drop down, there are nearby. In addition, if you use fluid grid Layouts, Design view is no longer available.

    If that's what you're talking about, you can get the design view option is back with a little work around. First of all, cloise all other files open, then add the X appearing here in the grid of your fluid .css file...

    /*

    Properties Grid Dreamweaver fluid

    ----------------------------------

    DW-num-CLO-mobile: X 4;

    DW-num-CLO-Tablet: 8;

    DW-num-OCOL-Office: 12;

    DW-gutter-percentage: 25;

    =====================================

    Then save the file, close it and restart DW. From here out, DW should no longer recognize the nature of the fluid grid of your page and allow you to use Design view.

  • How to display the VM Workstation serial number

    I have 6 licenses for Workstation 6 and you just upgrades to version 7. I am trying to determine what user runs a number of series. I have 3 users right now and they have no idea who install package that they used. How to display the serial number for VM Workstation installed on a users computer.

    Thank you

    He stored in the Windows registry at the location following and Workstation 7 taking as example adjust you the path accordingly for the installed version.

    HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Workstation\License.ws.7.0.e1.200904\Serial
    
  • How to display the result sqlplus in java?

    I want to call sqlplus to run some commands sql in java, but how can I print the result of sqlplus?

    In java code, I call sqlplus as:

    Process of p;
    Run the command
    p = Runtime.getRuntime () .exec (commandString);
    print the result of the command
    InputStream inputStream = p.getInputStream ();

    How to display the result of the execution?

    Published by: Yi on February 26, 2012 23:41

    You can use ProcessBuilder. Copy the following code starts sql * more and runs the script in the variable "filename". It displays the results in the console of NetBeans.

    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.File;
    import java.util.Map;
    
    public class test1 {
    
        public static void main (String args []) {
    
            test_script();
        }
    
        public static void test_script () {
    
            String fileName = "@test_table.sql";
            String sqlPath = "E:\\";
    
            String sqlCmd = "sqlplus";
    
            String arg1   = "user/password@sid"; -- plug in your user, password and db name
            String arg2   = fileName;
            try {
                String line;
                ProcessBuilder pb = new ProcessBuilder(sqlCmd, arg1, arg2);
                Map env = pb.environment();
                env.put("VAR1", arg1);
                env.put("VAR2", arg2);
                pb.directory(new File(sqlPath));
                pb.redirectErrorStream(true);
                Process p = pb.start();
              BufferedReader bri = new BufferedReader
                (new InputStreamReader(p.getInputStream()));
              BufferedReader bre = new BufferedReader
                (new InputStreamReader(p.getErrorStream()));
              while ((line = bri.readLine()) != null) {
                System.out.println(line);
              }
              bri.close();
              while ((line = bre.readLine()) != null) {
                System.out.println(line);
              }
              bre.close();
              System.out.println("Done.");
            }
            catch (Exception err) {
              err.printStackTrace();
            }
    
        }
    
    }
    

    Here is the content of the script at E:\\test_table.sql

    Prompt drop TABLE ANOTHER_TEST;
    DROP TABLE ANOTHER_TEST CASCADE CONSTRAINTS
    /
    
    Prompt Table ANOTHER_TEST;
    CREATE TABLE ANOTHER_TEST
    (
      BATCH_SEQ             NUMBER,
      BATCH_GROUP_ID        NUMBER,
      STATUS_FLAG           VARCHAR2(30 BYTE),
      OBJ_BEING_PROCESSED   VARCHAR2(80 BYTE),
      BATCH_RUN_START_DTTM  DATE,
      BATCH_RUN_END_DTTM    DATE,
      CREATE_DTTM           DATE,
      CREATE_USER           VARCHAR2(30 BYTE),
      UPDATE_DTTM           DATE,
      UPDATE_USER           VARCHAR2(30 BYTE)
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
    MONITORING
    /
    
    COMMENT ON TABLE ANOTHER_TEST IS 'This is a test table.'
    /
    
    EXIT
    /
    
  • How to display the serial No. field not to mention that the search results displayed

    How to display the serial No. field not to mention that the search results displayed

    Hello

    You missed to add the varstatus property in your table

    Try with this code:


    lines = ' #{bindings. " SahajDetailVO1.rangeSize}.
    emptyText = "#{bindings." SahajDetailVO1.viewable? "{'No data to display.': 'Access Denied.'}".
    fetchSize = "#{bindings." SahajDetailVO1.rangeSize}.
    rowBandingInterval = "0" id = "t1" styleClass = "AFStretchWidth."
    varStatus = 'vs' >



  • How to display database records in the text element

    Hello friends,
    I use forms6i...
    I called "username" in the layout of text editor. I created this point in the text of the data block Wizard... I put the number of items displayed = 3 in this wizard...
    In the 'user name' property palette I have following changes
    Number of displayed items = 3;

    When I click on the button named "list_user" must watch all the user names in the text element...
    My shutter button pressed when code is:


    declare
    cursor c1 is
    Select Logid log1 where logout_date is null;
    Start
    Open c1;
    Fetch c1 into: name of user;
    end;

    But my problem is when I run the user a single form displayed in the text element... The text elements two remaining are have no data...

    The result of the cursor query is:



    SQL > ed
    A written file afiedt.buf

    1 Select logid log1 where logout_date is null
    SQL > /.

    LOGID
    --------------------
    104
    105
    106


    Please help me

    Published by: Bauer on February 23, 2011 01:45

    1.
    There is no loop in your code, so it stops after the first extraction.

    2.
    with each loop you overwrite the same text field. Add CREATE_RECORD:

    DECLARE
        CURSOR c1 IS
            SELECT logid
            FROM   log1
            WHERE  logout_date IS NULL;
    BEGIN
        OPEN c1;
        LOOP
            IF :username IS NOT NULL THEN
               CREATE_RECORD;
            END IF;
           FETCH c1
           INTO  :username;
           EXIT WHEN c1%NOTFOUND;
        END LOOP;
    END;
    

Maybe you are looking for