Displaying Data in a Form field

Hi,
We have a requirement, where we have to display the value in one of the field as "Header_number.Line_number" where as the backend value will have only the Line_number. We have Header_number in a Materialized View. I am going to fetch line_number into an existing datablock and is based on a VIEW.
Could anyone help me, how to do this, i'm working on forms 10g, and i'm a fresher in forms. Please suggest me, how we will achieve.
Thanks in advance,
Pavan Kumar

Do you have datablock in your form that is based on the Materialize View (Header)? If so, this will save you a trip to the database to fetch the Header_Number. You simply need to add code to display the Header_Number and Line_Number in a non-base table item. I will guess that as you want this combined number to change as your users change Line records. That being the case, I would add a When-New-Record-Instance (WNRI) trigger on the LINE block to concatenate the two numbers in to a non-base table item. For example, create a Control Block and add a Character Item called disp_header_line and try the following:
/* Sample WNRI trigger */
/* This sample code assumes you have a block named HEADER and LINE. */
/* Make sure you change the block names to match your form. */
BEGIN
   :CONTROL.disp_header_line := :HEADER.Header_number||'.'||:LINE.Line_Number;
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Want to display data in receipt form in Smartforms

    Hi friends,
        I want to display data in receipt form in smartforms....Format is given below:
        Name : [fieldname1]
      number : [fieldname2]        country code : [fieldname3]
    n so on....It should display 1 record on one page and so on.......how can i go about it....
    Regards,
    Vijaya

    Hi Vijaya,
    First, you need to design the lay-out for your pages.
    Say for example in your case you take a window XYZ (variable type) to print:-
    Name : fieldname1
    number : fieldname2 country code : fieldname3
    Now you have some amount of data for this detail.
    Say you print this data in a table.
    After the last node for printing data, insert a command line under the last node (in main area of the table control).
    And on the next page use the same MAIN window (or use next page of PAGE1 as PAGE1).
    In other way, if you are printing a single record on a page.
    Then this can be done by simply taking a loop statement in the main window of the page followed by text-fields (from internal_table into work_area).
    Under the loop statement, in these text-fields you can simply print your data (using the work area) :-
    Detail 1 : &wa-field_name&
    and so on....
    After the last detail (node), insert a command line and write 'NEW-PAGE'.
    This will break your control on to next page and eventually one records will be printed on a single page.
    Hope this solves your problem.
    Thanks & Regards.
    Tarun Gambhir.

  • How to display the time in form field that has to refresh 4 every sec & min

    Hi Frndz....
    I am Apps Technical Consultant....
    .. my requirement is i want to display the DATE TIME ( 16-OCT-2007 16:23:45)
    in this format in form field.
    am done this but am unable to do that the time has to change for every second and minute.....means when the form is running (runtime) the time has to refresh like the our digital watch...
    ......Kindly help me about this problem....
    ..................eagerly waiting 4 ur reply..........
    if u get solution or any suggestions u can mail to : [email protected]
    Bye Frndz..........

    Hi,
    Thank u for ur replay,
    If we use timer, we have to refresh for every second
    so it may be complex....
    using java beans timer is better think so..
    and i have one more dought that how get the DB date
    time in form field...
    i know to get DB date time .... $$DBDATETIME$$
    but i want to use select statement through this i get
    the DB date time can you
    help me on this...
    Ganga...New account for your second post?? why don't you use the same account??
    To get the Database date in a select statement use the SYSDATE pseudo in a select statement.
    SCOTT@ORCL> SELECT SYSDATE FROM DUAL;
    SYSDATE
    17-OCT-07
    SCOTT@EBOS> SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI:SS AM') FROM DUAL;
    TO_CHAR(SYSDATE,'DD-MON
    17-OCT-2007 10:14:13 AM
    SCOTT@ORCL>Tony

  • How do I add a current date to a form field so that it will give me the current date each time it is opened?

    I have adobe 9 pro. I am currently adding fields to a document and would like my date field to display the current date when the document is opened so that the user does not have to enter the date each time. How do I do that?

    Have you searched for this issue. It has been answered many times.
    Example Acrobat JavaScripts
    Scroll down to the . Insert Today's Date into Form Field section.

  • Current date in a form field

    In Acrobat 7.0, I used a JavaScript to print the current date. However, I have been upgraded to Acrobat Professional 8.0 and the script does not update the date. It displays the creation date of the form.
    Any help would be appreciated.

    Is there any other action filling this field?
    Add the following to the calculation:
    console.show();
    console.clear();
    event.value = util.printd("mm/dd/yy", new Date());
    console.println("Today is: " + util.printd("mm/dd/yy", new Date()) );

  • Add and/or subract data values in form fields

    I'm trying to have a date value in one field calculated from another. For example Issue date field plus 90 days = Contract Due data field. Is there a way, maybe javascript to do this in a ADD form?
    Thanks for any help,
    Tony

    Hi Tony,
    instead of trying that with javascript, I´d rather create a Custom Trigger
    (type: AFTER) which updates your table´s "contract_due" column by applying MySQL´s DATE_ADD function to ADDT´s transaction value
    ($tNG->getColumnValue("column_name")), like this:
    "UPDATE tablename SET contract_due = DATE_ADD(".$tNG->getColumnValue("issue_date").",INTERVAL 90 DAY) WHERE primary_key_column = ".$tNG->getPrimaryKeyValue()."";
    That should work, although I´m not sure if you would first have to convert the value of $tNG->getColumnValue("issue_date") back to a valid MySQL date format
    (YYYY-MM-DD), in case the field "issue_date" displays the date in a different format, like e.g. DD.MM.YYYY
    However I think that a javascript based approach should be avoided whenever possible, because even if that works, the user might modify the "contract_due" field value before submitting the data.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Display data in tabular form

    Hi,
    i want to display data from data base in a tabular form, that is dynamic (the rows in UI is based on no.of records in data base) and one of data item is hyper link like
    sno sname class
    here sname is hyper link.
    Thanx for ur help

    Hi..
    Actually I dont get you clearly..
    I can give you some answer based on my understanding of your question..
    When you get the data from the database you can convert the each row of data into DTO's.. Finally you can get list of DTO's.
    Then in the JSF page you can use <h:dataTable> tag to render the table format of the DTO info..
    If I didnt clear your doubt, please explain your question clearly..
    Regards,
    Joe

  • Adobe Reader 9.4  won't allow saving-copying-printing of data entered into form fields.

    Hello, all.  I own a fully automated Continuing Education website with a national customer base.  The release of Adobe Reader 9.4 has brought a major problem for us which we haven't been able to overcome, and it's a critical issue which will destroy our business if the problem continues. 
    The problem:  Our professionally licensed website users earn online, instantly downloadable Continuing Education certificates in PDF file format, which are auto-generated by our software program when the user has successfully completed a course and its quiz.
    Each certificate is a template created by Adobe Acrobat Pro 6 which contains the boilerplate course goals, credit hours earned for the course, plus all of our educational approval numbers needed to conduct business in each state.  THE PROBLEM HERE is that these generated certificates ALSO have form fields which are auto-completed by our system when the user successfully completes his or her course - i.e., the user's name, his license number, and the date and hour and minute of completion.  Until some of our customers began to use Adobe Reader 9.4 on their PC this past week, the certificate generation process has performed flawlessly - for over 3 years now, for over a thousand customers - the only exception being the  occasional MAC user who needs to download the correct version of Adobe Reader, and to use the correct browser. 
    Beginning last week, site users who have downloaded 9.4 can no longer SAVE their Continuing Education certificates to their computer with their name, license and date and time of completion showing on the certificate.   And they can't even print the certificate correctly - their name, license, and date of completion appear as blank lines.  They can't download or email the certificate with the critical form field data showing on the document. This is a devastating situation for our business and for the users - who certainly won't return, and are demanding refunds. 
    In fact, I (who installed 9.4 last week) discovered that I can't even download and save an intact copy of a customer's certificate from my own website, OR copy and paste information from a client's generated certificate in order to manually create a certificate for him or her.  The on-screen message tells me that I am not allowed to do this with this document .... despite the fact that I was the creator of the document. Needless to say, when I un-installed 9.4, I had none of these problems.
    Customers wouldn't have problems either if they uninstalled 9.4 - but you can't tell customers who call in to complain, to uninstall their Adobe Reader program and find something else.  They also have to use Adobe Reader to view over half of the courses we offer, and they need to be able to work with them effectively with no problems. 
    In the past, because of occasional Adobe Reader problems of a different sort, we could tell customers to use Foxit or Nitro PDF if they had Adobe issues.  But that was back in the day when there was no competition in running an online CE website.  Now there is plenty of competition, and customers will just go elsewhere before they will try to reconfigure their computer just to stay with our site.
    I will bet that hundreds (thousands?) of other online businesses who work with system-generated form fields in PDF documents have been similarly affected.   
    Is there a solution here?  Surely this was an UNINTENDED result of  Adobe's upgrade to 9.4.   Is there something that we can do at our end to eliminate these issues?  There are NO security protections or limitations imposed on these certificate documents.  And we CANNOT eliminate the form fields that are filled internally when the customer passes t the course.  Date and time of completion and all the rest are required by all of the States which license us.  Many thanks!

    That was it!
    Thanks

  • Data search in form fields inside a workflow

    Want to do a search on forms based on any / all fields defined in the form. Since the form is user defined and form field data may change as it passes through the workflow (and can be at any stage except completed), what will be a clean way to do the search? Please note that we may not have prior information about form fields (user is free to define any form/ field) and we want the solution to be a generic one. Is it possible in any version of LC including latest release?
    Thanks for your help.

    Hi Howard,
    Thank you for your reply.
    I shall remember not to cross post in future. Please excuse me for my ignorance.
    This is what I want to do:
    1. The client has defined workflow and form(s) (with business fields) and I do not have prior information of these fields.
    2. Users of the above mentioned workflow started workflows by submitting completed forms.
    3. These forms are at different stages of processing in the workflow (but not completed).
    4. The requirement is to find those forms that contain say "Susanta" in any field and list those forms with processing status.
    5. The search string could be any alphanumeric string, and the search is restricted on field values only. However the assumption is that the search need not know what are the fields in the form. The workflow and the form name are known.
    I'll appreciate further hint from your side. Thanks in advance.

  • Display data in the form of subgrouping  of a table.

    hi,
        i need to display data in the table in the below format
    1  1000  header1  quantity  amount
                   item1      100           200
                                  50             500
    2  1001  header2   chairs      5000
                   item2         50            100
                                   100           1000
    plz help me how to do this

    Hi Praveen,
    Please check 'Grouping' view in component WDR_TEST_TABLE .
    It will give you some idea.
    Regards,
    Sumit

  • How do I use one form field to enter data into another form field?

    Does anyone know how I can code a form so that when I select
    a name in one drop-down form field, I can ensure that the person's
    e-mail address will appear in another text field?
    Thanks.

    Thanks Roel,
    I remember that I tried to define multiple DML. but it did not work for Apex gets confused.... which items belongs to which table...
    instead-of-triggers (to process the inserts/updates/deletes) Can you pls, elaborate more on this solution ... ?
    Regards,
    Fateh..

  • How to display date in a text field when a calendar is clicked

    hi
    I have a button i placed a calendar image in that button.when i click that button it displaying a calendar,when i click that calendar it is displaying the specific date .
    what i want is,when i click the calendar the specific date must display in a text field.
    please help me.
    thanks in advance

    Hi Arch,
    Go to the following link and check JCalendar API (needs to create a login for downloading JAR)
    [JCalendar API @ dev.java.net|https://jcalendar.dev.java.net/]
    it is a nice JCalendar with lot of options. Also it is working. You can download the JAR file and use it in ur program.
    From this component, you can read out the Date value and then set the text of JTextFiled using this value.
    or go for another implementation
    [Another JCalendar|http://www.gimlisys.com/articles-jdatechooser.html]
    Sunil

  • Cannot view or print data in fillable form fields

    I created a fillable form and users complete the form and email back to me.  For some, but not all, users, when I get their form, the data in the fields is not visible unless I click on field.  At first I thought they emailed me a blank form, but when I click on the field the data they entered is visible. Data doesn't print either.
    Can I fix the form once they send it to me or do I need to adjust the original fillable pdf? Thanks in advance.

    Most likely it's due to corruption caused by the Preview application on the Mac when it saves PDF forms. For more information and something you can do about a corrupted form, see: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html

  • PDF- paex page data to pdf form fields

    Just want to find out if anybody can help me out with this -- without using BI Publisher:
    I have several pdf letters that are pdf fillable. What needs to be done is from an APEX page:
    1. user search for client id
    2. find and selects the client id. Hidden fields for this would be the client's fullname, address, citystatezip, workername, workerphone, workerlocation, workersupervisor, workersupervisorphone, clientid.
    3. select the letter category: CAT1, CAT2, CAT3, CAT4 . I have a letters_table in oracle and have a category field in there. Will create an LOV for this category as a radiobutton. User will select the letter category.
    4. Based on the letter category selected, a list of letters will appear or posted in the page.
    5. User will then select the letter or (letters) by checkbox from the report listing of letters.
    6. Letters in PDF template format will print with the hidden fields printed on them.
    Any idea how to do this? Already created a page for the user to search the client id. So steps 1 and 2 is done.
    Need ideas and help with the rest....
    Can you link the fields in a page into a PDF fillable form? The PDF forms reside in our intranet server.
    I do not have BI Publisher and the deadline for me for this project is Friday April 24.... so appreciate ideas!
    Thanks! ?:|

    There was/is a sample application for html-db 1.5/6 that was called mailmerge.. It allowed you to do a mailmerge document in WOrdpad with Oracle data.. The rtf file would be stored in a table in your schema and you would run code against it to look for filler characters that would be replaced with your data..
    It has limitations, you might want to go and download it and see what you think..
    http://htmldb.oracle.com/pls/otn/f?p=18326:44:338076716200094::::P44_ID:1682
    Thank you,
    Tony Miller
    Webster, TX

  • Need to Change data in PDF form field with importData operation

    This should be simple, right?
    I have a PDF form that is submitted.  At a certain step in the process, I need to modify the value of one field from within the process.  I am using a PDF document in the default formData document variable.  To do this, I am using the exportData operation from the FormDataIntegration service to get XML.  I then use the setValue service to modify one node of the XML.  Finally, I use the importData operation from the FormDataIntegration service to import the modified data back into the PDF.
    Problem is that I am getting an error.  It says: ALC-FDI-001-304: Only XDP data is supported with XFA forms.
    Any advice?  Jasmin, Jayan, Paul, anyone?

    My theory is that when you export the data you do get xdp data.
    Now  when you modify the node you don't have the right xPath to that node and if that's the case, it might be overwriting the entire xml.
    This is causing the xml not to be in xdp data format and you get the error.
    Could you post the data you get from the exportData operation and then the xml you try to use by the importData?
    Jasmin

Maybe you are looking for

  • O Itunes não esta aceitando codigo de segurança

    Boa noite. Não estou consiguindo efetuar nenhuma compra nem mesmo fazer o download de apps grátis no itunes pois digito o codigo de segurança do cartão corretamente e ele diz ser invalido, isso porque eu ja tentei usar um cartão visa, e outro masterc

  • Importing MPEGS into Flash

    Help! I am experiencing problems when i bring MPEG movies into Flash 8. The video plays but the sound seems to be missing/ no sound. Has anyone come across this problem before and how do I overcome this??? Should I maybe look at imporing a different

  • Switching music from memory card to phone memory (...

    Hi, i have hardly any space left on my Nokia 5800 memory card, and would like to know how to put some songs onto the phone memory as i have some free space there. does anybody know how? (very greatfull)

  • No audio output device is installed on my laptop (HP PAVILION SLEEKBOOK 15 PC WINDOWS 8)

    I BOUGHT MY LAPTOP LAST 4 MONTHS. AUDIO IS WORKING PROPERLY.. BUT WHAT HAPPEN IS MY LAPTOP UPDATE THEN WHEN I OPEN NEXT DAYS IT SAYS NO AUDIO OUTPUT INSTALLED ON MY LAPTOP.. MY LAPTOP IS HP PAVILION SLEEKBOOK 15 PC WINDOWS 8.

  • Regarding configuration cycle for sales order linking with project systems

    Hai Sap professionals, i have a scenario like engineer to order. where i manufacture PC's for my customer as per their request. Some may order AMD's and some Intel processor etc... now how i should start linking everything a brief idea if any can tel