Formatting money in APEX form ...

Greetings:
I'm trying to format a text field in a form as money. I set the format mask in the Source section to 999G999G999G999G990D00, but I can't seem to get the displayed amount to align to the right inside the text field. It appears to want to center-justify the amount in the text field, rather than align it to the right.
Any help would be appreciated.
Thanks,
Stan

It could help solving the mystery if you posted the generated html source code of the form input element.

Similar Messages

  • Passing variable from a APEX form to  PL/SQL Open link in a new borwserwin

    Hello Everyone,
    I got a apex form based on a query like :
    "INTERFACE_NAME",
    "INTERFACE_NAME" INTERFACE_NAME_DISPLAY,
    "PRIORITY",
    "HAS_STARTED",
    "EMAIL_TO",
    "STATE",
    from "#OWNER#"."INTERFACES"
    where "INTERFACE_NAME" = :P2_INTERFACE
    only the field state is updateble.
    It's just allowd to update the data in the DB-table with a PL/SQL Procedure:
    begin
    set_interface_vals@DB (p_interface_name => :INTERFACE_NAME, p_state => :STATE);
    end;
    I did put the prodzedure in a Page Process which act with a submit button.
    Now to my problem: how do I get the values of my fields INTERFACE_NAME and STATE. the way I done it here does not work.
    Thanks for you help.
    regards sia
    Edited by: sia on Mar 14, 2011 5:46 PM

    well then , you should be looping over the record invoking that package for each row. Your package handles only one row, isn't it ?
    The first thing your should do is find the names of the column fields interface name and state. Open the page source or check it in firebug by looking inside the appropriate columns. The html code will be something like <input type="text" name="f01" value="" />
    &lt;input type=&quot;text&quot; name=&quot;f01&quot; value=&quot;&quot; /&gt; with the name attributes in the format fXX (01 to 50)
    I am assuming that the interface name has it as f01 (XX=01) and state is f02 (XX=2), each of which corresponds to an application array(having as many elements as there on the page) by the name "APEX_APPLICATION.G_FXX"
    BEGIN
      FOR i IN 1..APEX_APPLICATION.G_F01
      LOOP
        set_interface_vals@DB ( p_interface_name => APEX_APPLICATION.G_F01(i) --ith row's interface column value
                                        ,p_state => APEX_APPLICATION.G_F02(i)  --ith row's state column value
      END LOOP;
    END;

  • Calling APEX form with dynamic parameters from Oracle Apps 11.5.8

    I have successfully managed to setup access to APEX forms from Oracle Apps 11.5.8 menus utilising Form Functions passing a number of hardcoded parameter values as outlined in the document, http://www.oracle.com/technology/products/database/application_express/pdf/Extend_Oracle_Applications_11i.pdf.
    I am now trying to ZOOM from an Oracle Form passing values of form items (dynamic parameters) to an APEX form. I have so far not been able to do this.
    I've also tried using;
    web.show_document('http://derep.obup.co.uk:4657/pls/apex/f?p=100:1::::::p1_cust_account_id:'||name_in('ast_cu_act.account_id')||':', '_TOP');
    but this prompts for a username/password again as this bypasses the APEX Launch process that is defined in my Form Function.
    Is this possible in the parameters section of Form Functions? or elsewhere.
    Regards,
    Naeem

    Hi Daan
    We do havea couple of customers doing this, they have taken two approaches:
    1. Install XMLP on a separate server entirely - kick off conc request to extract data and then use Java Messaging Service (JMS) to push the resulting XML to the external server where they are using AQ to set up jobs for the XMLP server to work through, generating and delivering the final documents.
    2. Set XMLP up as a virtual printer - here the conc request again generates XML but this time the result is directed to a virtual printer namely XMLP. There is a perl or similar wrapper that gets called as the printer and accepts the data, template, output format and delivery destination as parameters.
    Apologies for the 10,000 feet overview, hope it helps. Tim

  • Emailing an Apex Form

    I currently have a simple database that allows users to input information and makes it searchable.
    I put in a printer friendly link in the form input page to allow them to print out that ay.
    My current issue is that once a user inputs this data via the Apex form, they need to email that same info to an account used to monitor and disseminate this information.
    Is there a simple way that I can either A: Put the form data into an email with a single mouse click for the users, or B: Take tat same data and export it to a pre-formated RTF or Word doc with the proper form fields.
    I appreciate any help seeing that I'm not a DBA or developer, I've been learning as I go with Apex, but I can't find any way to do this (googled 50 different variations of the question).

    What I would suggest is, mocking the look up you want in an HTML editor (I use Dreamweaver) and just layout the page you want, with the data elements names in place (:PX_ITEM).
    Next build a page process that gets called AFTER the submit.. Heck I will send you a link that shows how to send this type of e-mail from APEX.. It is a survey based app page..
    What you do is build the page process, and in it you define a local variable to hold the html code that you built earlier to format your e-mail.. In building the string (at least what I did ) is build the string using the quote operator function in Oracle PL/SQL so you don't have to do the string concatenation..
    Here is the link: http://apex.oracle.com/pls/otn/f?p=9487:28:306320661622784::NO:28:: Click the Page Process (to send email) arrow to see the code in the process..
    Let me know if I can help further..
    Thank you,
    Tony Miller
    Webster, TX

  • How to insert data from APEX form into two tables

    Hi,
    I'm running APEX 4.1 with Oracle XE 11g, having two tables CERTIFICATES and USER_FILES. Some of the (useless) fields are cut to reduce information:
    CREATE TABLE CERTIFICATES
    CERT_ID NUMBER NOT NULL ,
    CERT_OWNER NUMBER NOT NULL ,
    CERT_VENDOR NUMBER NOT NULL ,
    CERT_NAME VARCHAR2 (128) ,
    CERT_FILE NUMBER NOT NULL ,
    ) TABLESPACE CP_DATA
    LOGGING;
    ALTER TABLE CERTIFICATES
    ADD CONSTRAINT CERTIFICATES_PK PRIMARY KEY ( CERT_ID ) ;
    CREATE TABLE USER_FILES
    FILE_ID NUMBER NOT NULL ,
    FILENAME VARCHAR2 (128) ,
    BLOB_CONTENT BLOB ,
    MIMETYPE VARCHAR2 (32) ,
    LAST_UPDATE_DATE DATE
    ) TABLESPACE CP_FILES
    LOGGING
    LOB ( BLOB_CONTENT ) STORE AS SECUREFILE
    TABLESPACE CP_FILES
    STORAGE (
    PCTINCREASE 0
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    FREELISTS 1
    BUFFER_POOL DEFAULT
    RETENTION
    ENABLE STORAGE IN ROW
    NOCACHE
    ALTER TABLE USER_FILES
    ADD CONSTRAINT CERT_FILES_PK PRIMARY KEY ( FILE_ID ) ;
    ALTER TABLE CERTIFICATES
    ADD CONSTRAINT CERTIFICATES_USER_FILES_FK FOREIGN KEY
    CERT_FILE
    REFERENCES USER_FILES
    FILE_ID
    NOT DEFERRABLE
    What I'm trying to do is to allow users to fill out all the certificate data and upload a file in an APEX form. Once submitted the file should be uploaded in the USER_FILES table and all the fields along with CERT_ID, which is the foreign key pointing to the file in the USER_FILES table to be populated to the CERTIFICATES table. APEX wizard forms are based on one table and I'm unable to build form on both tables.
    That's why I've created a view (V_CERT_FILES) on both tables and using INSTEAD OF trigger to insert/update both tables. I've done this before and updating this kind of views works perfect. Here is where the problem comes, if I'm updating the view all the data is updated correctly, but if I'm inserting into the view all the fields are populated at CERTIFICATES table, but for USER_FILES only the fields FILE_ID and LAST_UPDATE_DATE are populated. The rest three regarding the LOB are missing: BLOB_CONTENT, FILENAME, MIMETYPE. There are no errors when running this from APEX, but If I try to insert into the view from SQLDeveloper, I got this error:
    ORA-22816: unsupported feature with RETURNING clause
    ORA-06512: at line 1
    As far as I know RETURNING clause in not supported in INSTEAD of triggers, although I didn't have any RETURNING clauses in my trigger (body is below).
    Now the interesting stuff, after long tracing I found why this is happening:
    First, insert is executed and the BLOB along with all its properties are uploaded to wwv_flow_file_objects$.
    Then the following insert is executed to populate all the fields except the BLOB and it's properties, rowid is RETURNED, but as we know RETURNING clause is not supported in INSTEAD OF triggers, that's why I got error:
    PARSE ERROR #1918608720:len=266 dep=3 uid=48 oct=2 lid=48 tim=1324569863593494 err=22816
    INSERT INTO "SVE". "V_CERT_FILES" ( "CERT_ID", "CERT_OWNER", "CERT_VENDOR", "CERT_NAME", "BLOB_CONTENT") VALUES (:B1 ,:B2 ,:B3 ,:B4, ,EMPTY_BLOB()) RETURNING ROWID INTO :O0
    CLOSE #1918608720:c=0,e=11,dep=3,type=0,tim=1324569863593909
    EXEC #1820672032:c=3000,e=3168,p=0,cr=2,cu=4,mis=0,r=0,dep=2,og=1,plh=0,tim=1324569863593969
    ERROR #43:err=22816 tim=1324569863593993
    CLOSE #1820672032:c=0,e=43,dep=2,type=1,tim=1324569863594167
    Next my trigger gets in action, sequences are generated, CERTIFICATES table is populated and then USER_FILES, but only the FILE_ID and LAST_UPDATE_DATE.
    Finally update is fired against my view (V_CERT_FILES), reading data from wwv_flow_files it populates BLOB_CONTENT, MIMETYPE and FILENAME fields at the specific rowid in V_CERT_FILES, the one returned from the insert at the beginning. Last, file is deleted from wwv_flow_files.
    I'm using sequences for the primary keys, this is only the body of the INSTEAD OF trigger:
    select user_files_seq.nextval into l_file_id from dual;
    select certificates_seq.nextval into l_cert_id from dual;
    insert into user_files (file_id, filename, blob_content, mimetype, last_update_date) values (l_file_id, :n.filename, :n.blob_content, :n.mimetype, sysdate);
    insert into certificates (cert_id, cert_owner, cert_vendor, cert_name, cert_file) values (l_cert_id, :n.cert_owner, :n.cert_vendor, :n.cert_name, l_file_id);
    I'm surprised that I wasn't able to find a valuable source of information regarding this problem, only MOS note about running SQLoader against view with CLOB column and INSTEAD OF trigger. The solution would be to ran it against base table, MOS ID 795956.1.
    Maybe I'm missing something and that's why I decided to share my problem here. So my question is how do you create this kind of architecture, insert into two tables with a relation between them in APEX ? I read a lot in the Internet, some advices were for creating custom form with APEX API, create a custom ARP, create two ARP or create a PL/SQL procedure for handing the DML?
    Thanks in advance.
    Regards,
    Sve

    Thank you however I was wondering if there was an example available which uses EJB and persistence.

  • I have a acrobat reader, can I import text delimited data format to a PDF Form so that it can auto fill into forms that was created? If not, what about FDF and XML data

    I have a acrobat reader, can I import text delimited data format to a PDF Form so that it can auto fill into forms that was created? If not, what about FDF and XML data

    Yes, you can do all of that via Tools - Forms - More Form Options - Import Data, if you have Acrobat.
    If you only have the free Reader then you can still do it, but it requires a script.

  • How to implement enter-query , execute-query in Apex Forms

    Hi,
    I am new to Oracle Application Express. I want to know what is the equivalent of ENTER-QUERY and EXECUTE-QUERY features of Oracle Forms in Oracle APEX? I saw a lot of documentation, but everywhere I found that APEX forms only have 3 database actions, (1) INSERT (2) UPDATE & (3) DELETE.
    Does anybody know how we can do QUERY in APEX Forms? (like we do in Oracle Developer Forms).
    Thanks in advance.

    Oracle APEX is a web/ stateless environment. So you do not have the same functionality/ features as in a Oracle Forms environment which is session/state oriented.
    You can however achieve functionality similar to Enter Query / Execute Query through other means.
    The easiest is to use the Forms with Report wizard. It creates 2 pages, the first one is a report and the other a Form. Clicking on the Report rows takes you to the Form page in Edit mode where as the the Create button takes you to the Form in Insert mode.
    If you want to have the enter-query / execute query on a single page it will require significant effort and skills. Try it when you have acquired some more skills in Apex.
    In APEX , like any other web application, you have to think in the web paradigm and not client-server. Even Forms 11g is essentially client-server like and is session oriented through the forms applet.
    Regards,

  • How to call APEX form from OAF

    Hi
    WE upgraded from 11i to R12. In 11i we have Apex Forms hanging off Customer forms. The customer forms in R12 became self service/OAF.
    We now need to figure out how to call the old APEX form from new selfservice Customer form
    Can some one help me with this?
    thank you

    Please review https://blogs.oracle.com/stevenChan/entry/new_whitepaper_extending_e_business which will hopefully answer your questions
    regards
    Mike

  • Passing values to another field in APEX form

    Hi,
    How do I pass a value in 1 field to another field in APEX form ?
    I have a hidden field and I need to populate this field by another field.
    thanks

    I found the solution to my problem.
    [1] Create a "After Submit" under Computations.
    [2] Select 'Item Value' under Type in Item Name
    [3] Select "After Submit" under Computation Point
    [3] Enterer Item Name, which value needs to be passed in 'Source'
    thanks

  • APEX - passing values from LOV's or multi-select LOV's to another APEX form

    I am new APEX development and I need to take the values from LOV's and multi-select LOV's and pass them to another APEX form. I want to take those passed values and use them in the where clause of the base-table in the called form. Any assistance would be greately appreciated.

    Hi,
    Refer this example
    http://www.talkapex.com/2009/07/apex-how-to-pass-multiselect-list.html
    Example: http://apex.oracle.com/pls/otn/f?p=20195:2100
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Integrating apex form with oracle portal

    Afternoon friends,
    I have got a senario like integrating apex form with oracle portal.I dont have any idea on oracle portals.so please let me know the basic steps on how to go ahead to integrate apex forms with oracle portal and for that what i need to have apart with my database and apex.

    Hello
    Couldn't see my previous post... so here it is again
    We have integrated Apex into Oracle Portal
    Here's how we did it.
    In the portal page, we have created an Element region with the following code:
    <script language="Javascript">
       <!--
       function changeIframeHeight(){
          var ifrmObj = document.getElementById('apexIframe');
          if(ifrmObj) {
             if(navigator.appName=='Microsoft Internet Explorer') { //IE
                ifrmObj.height = ifrmObj.contentWindow.document.body.scrollHeight+20;
             else {
                ifrmObj.style.height = ifrmObj.contentWindow.document.body.offsetHeight+50;
       //-->
    </script>
    <p><iframe width="100%" height="500" frameborder="0" onload="javascript: changeIframeHeight();" src="/pls/apex/f?p=115:10" marginheight="0" marginwidth="0" name="apexIframe" id="apexIframe"></iframe></p>You just have to make sure that the name and id of the iFrame and the elementId in the javascript are the same.
    And change the SRC so that it point you application.
    Hope that helped you.
    Max

  • Font/Formatting issues with Reports/Forms

    Hello,
    Can you please allow us to specify the formatting attributes in Portal Reports and Forms ? In Portal reports, for e.g, it would be great if we had one set of formatting for the report header and another for the report data. Same way, for forms, we would like to format the labels in forms and different formatting for the rest of the form.

    One thing you might do is this. Don't display the Title View in your reports. You can do this either by deleting the views from the Compound Layout or, within Edit Dashboard, by selecting only the view that contains the report. (Obviously, if your report has several view, you would need to choose the first route.)
    Instead of the Title View, do this: In the Dashboard section which contains both reports, click on the "Rename" button. Type the name of that best illustrates both reports, check the "Display Section Heading" checkbox and click "OK."
    Next, click the "Rename" button again and this time go in to the formatting section to format as required. (Note: After you check the checkbox, if you don't click "OK" right after, the check mark won't stick. So click "OK" and then go back in to do any formatting you wish.)
    This method allows the user to collapse the section and still see what the section is about. This is good practice when you have several reports in one dashboard page. Even collapsing all the sections, you can see what is "inside" and expand the appropriate section.
    HTH,

  • Apex Form - how to enter primary key value manually?

    Hi
    Whenever I am creating Apex form using wizard, it asks me to specify trigger/sequence/pl/sql function for populating primary key value.
    However, if I want to specify primary key myself (ie. not auto generated number), how I can specify that?
    Thanx

    Hello,
    By Yourself you mean : by hand or by a pl/sql?
    If you say by trigger, the system doesn't care about what number is send. So you can give it "manually"
    May I ask what is the reason of that?
    Cheers,
    Arnaud

  • Formatted search on payment form

    Hi Experts!
    I would like to make a formatted search on payment forms-both outgoing and incoming- which copies the partnername or the accountname according to the doctype into the journal remarks field.
    I've created a query but it doesnt work. It runs error.
    SELECT case when $[ORCT.doctype]='A' then $[RCT4.Descrip] else
    $[ORCT.Cardname] end
    Please, can you help whats wrong with this?
    Thank you in advance!

    Try this
    SELECT CASE WHEN $[ORCT.DocType] = 'C' THEN $[$32.1]
    WHEN $[ORCT.DocType] = 'S' THEN $[$32.1]
    ELSE $[$71.2] END
    Good luck

  • Catch No Data Found error on APEX form

    I have an apex form which I am populating based on two fields passed over from another report.
    In some instances, there is no data in the database for the information passed over. In that case I want the users to be able to add a row to the database through the form.
    However, the form does not return at all as it says No Data Found.
    Is there a way to catch the No Data Found exception and display the form blank so the users can enter the correct info?
    Please advise.
    Thank you.

    Hi,
    One thing you could try:
    Create a page process that runs Before Header (that is, before the "Fetch Row..." process) that is a process Category of "Session State" and a process type of "Clear Cache for all Items on Pages (PageID,PageID,PageID)". This could be conditional on a NOT EXISTS SQL query based on selecting 1 from your table where the field1 = parameter1 and field2 = parameter2. That way, if there is no record, the page cache should be cleared, your parameters are set to null and a new record can be created. You could also do a similar thing using PL/SQL by setting :P2_PK1 and :P2_PK2 (or whatever your fields are) to NULL.
    Andy

Maybe you are looking for

  • Error Occured when Applying Structural Authorizations in E-Recruitment

    Dear Experts, The E-Recruitment functionalities were working fine when no structural authorizations are applied. However, when structural authorizations are configured for the user on the backend SAP system (I configured structural authorizations for

  • POSDM link missing

    HI experts, After enabling POSDM content in BI, link for *SAP POS* is missing    (POS Data Warehouse Management -- POS Inbound Processing -- Integration with Other SAP Components ---SAP POS ) Pls tell me  the solution to get the missing link. regards

  • Itunes compatibility Old Ipod Photo mod 2004 and Ipod nano

    Hello: I have a question can I use Itunes for both in the same time because for Photo The LibraRY is to big thanks

  • Emailing multiple photos on my iPad

    How do I select multiple photos to send in one email?

  • Certificate Generation

    I am still attempting to get TLS/SSL set up with my LDAP. I have a feeling I am not generating my certificates correctly. Or that I am not placing them in the proper places. After installing the certificates in the server and activating ssl, and addi