How to display/edit timestamp in a Form Field ?

Hello,
i have a table which has a TIMESTAMP column and i have a form based on this. What i want is to be able to have a user see it during displaying in a form and be able to insert or modify these timestamp values. I looked through the various DATE pickers in Page Item | Display as, but i didn't find a suitable one for TIMESTAMPs. The closest one to my needs is that of DD/MM/YYYY HH24:MI but if i use it the user can't provide seconds and if form in update mode, when the user presses save without actually making any modifications the seconds part of the field is lost.
Any idea how to solve this situation? Have you had such a similar problem in your implementation? How do you implement in your applications TIMESTAMPS?
TIA
Edited by: Dionyssis on 7 Ιαν 2010 3:12 πμ

>
Any idea how to solve this situation? Have you had such a similar problem in your implementation? How do you implement in your applications TIMESTAMPS?The DatePicker doesn't support timestamps. In our applications we have used non-database date fields to handle the user display/entry side of life and then manually populated these fields from the (hidden) timestamp fields during record 'build' and then used a process to set the timestamp field to match the user-updated date field during submit - in our case we're also using timezones.
It's a pain... I'd like a better alternative!
Andy

Similar Messages

  • How To display Project Information In Infopath Form Field On Form Load Base on Project Id.

    Hello,
    I have a Requirment that I want to Display Project Name and their Client Name in Info Path Form Field as I Open the Form. I do have uploaded InfoPath form in Forms Library in Project  of Project server 2010. 
    is there any simple way to do this ??
    Rohan

    Hello ,
    I am trying to access the data from the Database in infopath form through Retrive Data connection. but I am getting an error like
    "A query to retrieve form data cannot be completed because this action would
    violate cross-domain restrictions.
    If this form template is published to
    a SharePoint document library, cross-domain access for user form templates must
    be enabled under InfoPath Forms Services in SharePoint Central Administration,
    and the data connection settings must be stored in a UDC file in a data
    connection library in the same site collection.
    If this is an
    administrator-approved form template, the security level of the form must be set
    to full trust, or the data connection settings must be stored in a UDC file by
    using the Manage data connection files option under InfoPath Forms Services in
    SharePoint Central Administration.
    An entry has been added to the Windows event log of the server.
    Log ID:6932
    Correlation
    ID:79708499-078b-4170-bf65-942184c565ac.
    I do have already enable domain access for user form templates  under InfoPath Forms Services in SharePoint Central Administration.
    and the data connection settings stored in a UDC file in a data connection library in the same site collection.
    Could U suggest me what Would I do next.
    Any Help would be Appreciated.

  • How to Display an Image on my FORM

    Good Day!
    I would like to ask some help from you guys with my problem on how to display an image on my form. I would like to display my uploaded image on my form but instead of an image, the get_blob_file is showing. By the way, I'm using Apex 4.1
    I downloaded the Order Entry Sample Application and followed the Page 6, the Product Details. I even made snapshots of each details from Page Rendering to Page Processing in order not to miss a thing.
    At the moment, I was able to upload or store the image on my created Oracle table and also able to retrieve it on the Download Link Text with Content Disposition value of Inline, provided by APEX Settings. If I invoke the Download link beside the file browser, a page with the image will be shown, below is the address:
    http://127.0.0.1:8080/apex/apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6&p_content_disposition=inline
    However, instead of showing the image on a region, below is the one showing on my Form:
    <img src="apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6" />
    As you can see the parameter values are the same but I know I missed something that's why I'm here :)
    I would highly appreciate all the help you can provide and many thanks in advance.
    I tried to change gear by making an html region of type PL/SQL (anonymous block) and a procedure but still no image :(
    Below are the scripts.
    declare
    cursor cur is
    select *
    from wsemployee
    where empid = :P230_EMPID;
    begin
    for rec in cur
    loop
    IF rec.mime_type is not null or rec.mime_type != '' THEN
    htp.p( '<img src="my_image_display?p_image_id='||NVL(rec.empid,0)||'" height="'||100||'"/>' );
    else
    htp.p( 'No Image ');
    END IF;
    htp.p( ' ');
    end loop;
    end;
    PROCEDURE
    create or replace PROCEDURE my_image_display( p_image_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (2000);
    lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, PHOTO_BLOB_CONTENT, PHOTO_FILENAME,DBMS_LOB.GETLENGTH(photo_blob_content)
    INTO l_mime,lob_loc,l_file_name,l_length
    FROM wsemployee
    WHERE empid = p_image_id;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(l_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || l_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(l_file_name,instr(l_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    END my_image_display;
    Edited by: user13831927 on Dec 22, 2012 3:24 PM

    Hi Ying,
    you can add a UDF to the table spp2 with a programm
    but the table is not yet listed in the 'Manage User Fields' form.
    there's no way to "enable" it - sorry

  • How to find and replace data in form fields in acrobat xi, its not allowing to do so while trying, a

    how to find and replace data in form fields in acrobat xi, its not allowing to do so while trying, asking for adobe livecycle to get installed. please help.

    Easiest way to do it is the following:
    - Open the PDF file in Acrobat.
    - Go to Tools - Forms - More Form Options - Export Data.
    - Save the form data as an XML file somewhere on your system.
    - Open XML the file in a plain-text editor (I recommend Notepad++).
    - Let's say you want to replace all the years in the dates from "2013" to "2014". Do a global Search&Replace of "2013-" to "2014-" (I added the dash just to make sure that only date fields are edited).
    - Save the XML file (maybe under a new name).
    - Go back to the PDF file, and now go to Tools - Forms - More Form Options - Import Data.
    - Select the edited XML file and import it.
    - Done!

  • How to display negative values in a screen field of a screen

    Hi All,
    Please let me know how to display negative values in a screen field of a screen.
    thanks

    Hi Kishore,
    You can do this method. In the screen , create a text field of CHAR instead fo creating an INT4 field.
    I have created a field of CHAR of name say TEXT.
    In the main program,
    declare a variable of the same name ie. TEXT.
    data: TEXT(5) TYPE C.
    In PBO, just assign the negative values.
    It will work.Since there is automatic conversion between character and integer data types, it will work for positive values as well.
    Regards,
    Sylendra.

  • How do I Edit an Existing PDF Form Without Losing Form Functionality

    I'm brand new to Acrobat but familiar and proficient with Flash, PhotoShop Premiere Pro, After Effects, Dreamweaver, Fireworks etc.
    The company I work for sells office supplies. We sell 57 distinct items.  We have Acrobat 9.  I am designing a PDF order form with fields that can be emailed to our clients as an attachment.  They fill out the form, it calculates the total, they send it back to us, we fill and ship the order.  Basic and straightforward.
    I can add form fields to my order/pricelist... not a problem.  The question is:
    Once I have brought a PDF into Acrobat and add 57+ fields and calculations, which is a time consuming process, how do I edit an item price at a later date, if someone in the company decides to make a change to our pricing?
    See..., If I save the original Microsoft Excel document as a PDF, Acrobat can't edit the text for some reason.  Something to do with "Renderable Text".  Now if I open the PDF saved from Microsoft Excel in Adobe Illustrator, I can use the text tool to make changes. That doesn't help me... just saying. Why can't I edit "Renderable Text" with the Acrobat Text Tool?  Someone in a forum stated that Acrobat is NOT a word processing program!  If that is an accurate statement, it would appear that Acrobat can at least work with base PDF documents to make certain types of modifications and add functionality.  Is that correct?
    Here's the problem.  I create a PDF with form functionality.  Everything works great.  The boss says, I want to change the price of the scissors.  I can't change the text in Acrobat because of the "Renderable Text" nonsense.  Does this mean that I have to re-apply all of the form fields and calculations to the new base PDF document every time there is a minor change?  I know there has to be a simple work around.  Should I upgrade to a newer version of Acrobat?
    Is it possible to save the original existing form functionality as a layer or overlay to be applied to the new modified base PDF document?   Kind of like so many other Adobe products do including PhotoShop, Fireworks, Premiere Pro, After Effects, Flash etc., so that all of the form functionality can be applied in one big chunk?  Premiere Pro has the time-saving feature of "Paste Attributes".  It's a real time saver.
    It may be simpler to just direct me to a video that goes through the process of creating a PDF order form with fillable fields that multiplys quantity by unit price and totals one column.
    I already created a prototype of the form in PhotoShop which can be saved as a PDF.  The finished order document appearance has 95 horizontal 3px wide lines and 6 vertical 3px lines, kind of like what one might expect to see in an Excel spread sheet.  The form also contains some graphics and unconventional text areas that acrobat could overlay text fields and everything would be fine.
    With these great number of horizontal dividing lines, It doesn't seem practical or even possible to create the basic layout in Acrobat.  As I originally stated, I'm new to Acrobat and would like suggestions for a workflow that enables easy editing of an existing PDF document with form fields.  I want to avoid the monumental task of re-doing all of the fields and calculations.

    For what you are trying to do that is probably what you want -- Replace Pages. There are a few more issues that you need to be aware of since this is a business form. If customers are using Reader XI, it is not an issue.
    On the renderable text, can you see the text list when you look at the font tab in the document properties (ctrl-D)? If not, they you do not really have fonts to edit. This may be the type of fonts you used in the original or the way in which you did the conversion to PDF. You need to have fonts that are on your system and then be sure to embed them (otherwise others may not be able to read them because of different OS or such).
    As to e-mailing the form, that is fine (though there are sometimes problems with various clients and PDFs -- but usually on the sending end).
    For collecting the data you may want to try a different route. For users of Reader XI, they can save the form with the data. Prior versions could not do that unless you enabled the form for Reader. However, this latter process has a 500 form use limit -- A license issue. If the data is submitted, then it does not make a difference. The folks with Reader XI can still save the form with the data, others will have to print a copy for their records.
    The data can be imported to the form on your end and so you would have the exact same results as what was filled out. However, the submission process should be set up to submit to a web script for your receipt and not use mailto. The latter has problems that you have no control over due to proper operation with the mail client on the user machine. Typically the mail client must be the default and use MAPI. In any case, it is not reliable (not for business use). So submission to a web script is useful. The data in AcroForms would be of the type FDF (or possibly XFDF). If for some reason use created the form with Designer, that limit any editing in Acrobat since it is no longer a real PDF, but an XML container that Acrobat and Reader can display and interact with, but not change. Again, submission to a web script is still preferred.
    For dealing with a web script and some coding for various languages, you can check out the FDF Toolkit. It has been around a while, but should still handle the CGI needs of the submission. In addition, it has tools for adding the data to a database and other typical operations for data collection. You can save the FDF files and import them to the form and deal with the data there also.
    The use of Replace pages would do the job if all your form fields will still need to be in about the same location. Form fields are mark up and the pages are referred to as the document. Thus the replace pages will just original page and leave all the form fields. You will still need to go back and fix the value within the fields themselves, but that is a field edit.

  • How to display Formatted text in adobe form

    In adobe form, I want to display the text which is inputed by formatted text edit in WD ABAP application.
    It is always displayed as plain text like '<p>this is test text.</p>'. I have set the attribute Data Format to XHTML, Field Format to Rich Text for the Text Field in adobe form. But it doesn't work.
    How to display these formatted text?
    Thanks and Best Regards,
    Jun

    Hi Juergen,
    I found Your blog and found it  really interesting... though I was not able to use it: I (like Jun Li is asking, I guess) need to use a dynamic text, containing formatting informations (according the xhtml syntax).
    I tried to pass it to the form by an ABAP-dictionary based interface and by means of the context (in a webdynpro page), but both tries failed.
    Some suggestion will be greatly appreciated.
    Thankyou
    Simone

  • How to display multiple records in smart forms in new page for each record

    Hi,
              How to display the data from a internal table in a smart form.
    I want each record to be displayed in seperate page.
    please tell me with example.
    thank u,
    Sarath

    Do this ,
       in the main window - open a loop on your internal table ,
    within the loop open the text and give the output fields,
    after this text  use the Command node and in this set the next page as page1,
    so when the loop gets executed its first record will be on the first page and the second record will be on the next page and so on ..
    Reward to usefull answers.

  • How to display TEXT vertically in SMART FORM

    Hai,
    I need to display the column name of a table vertically (readable from bottom to top) in smart form.
    Could any one please tell me how to do this?
    Thanks & Best Regards,
    Maniyam Bhaskar.

    Hi,
    Go through these threads for the discussions happened on similar issue... hope it helps you..
    how to print text vertically in smart forms
    vertical and horizontal printing in same page with smartforms or sapscript
    Good luck
    Narin

  • How do I put a timestamp in a form field in a business process?

    At a specific step in the process, when a user approves a form, I would like to put their name and a timestamp in a text field that is locked.  I think there are some different ways to do this, but each has their own issues.
    Javascript in form:
    I could do this via javascript before the form is submitted, but how do I know which step in the process we are in?
    Business Process:
    I don't think I can directly access the form from the process.  I can read from the form, but cannot set values, correct?
    Custom Render Process:
    I have a custom render process but I would need to extract all the data from the form, merge with the xml for the new field, then merge back in with the document.  Not sure how to do this.
    Any ideas on what the best way to handle this would be?
    Thanks

    Hi,
    You can use the executeScript component to set the timestamp in the form or varible. Mention below is an example to get the timestamp in dd/MM/yyyy format.
    java.text.DateFormat dateFormat = new java.text.SimpleDateFormat(
                    "dd/MM/yyyy");
    java.util.Date date = new java.util.Date();
    String datetime = dateFormat.format(date);
    System.out.println("Current Date Time : " + datetime);
    patExecContext.setProcessDataStringValue("xpath of the form field or variable", datetime);
    Regards,
    Waqas

  • How to create Edit Image in my form

    hi All,
    I have a form with header and detail, in my detail block i need to add Edit Image in my form. When i click on this i should be able to open one of my text column.
    can any one please help me how to create new images....

    Siva,
    There is a different Technology Stack associated with the Enterprise Business Suite (EBS). amitphynyl is correct with the description of how to create a button with the edit.ico assigned to it, but with the EBS, you will want to speak to your DBA to get a list of all the Icons that are available as you will have more icons with the EBS than are available with a standard install of Forms Builder 6i. I would also suggest you ask your DBA to give you a copy of all the Icons so you can add them to your Forms Builder installation so they will be available to you during design of your Form.
    I would also recommend that you review the Oracle Applications User Interface Standards for Forms-Based Products guide in the Oracle Applications Documentation web site to ensure your Custom Form conforms to Oracle guidelines.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to display multiple page images in forms ?

    Hi,
    What is the best method to display multiple pages image(100 pages) in forms 10g?
    Thanks

    Hello,
    <p>this is a link to a tutorial that contains several sample forms.<br> One of them (ALBUM.FMB) demonstrates how to display hundred of images.<br><br>The tutorial is in French, but you can simply download the samples on the introduction chapter</p>Francois

  • How to disable edit.delete in oracle forms 11i?

    i was able to use APP_SPECIAL.ENABLE('EDIT.CLEAR',PROPERTY_OFF); to disable the clear button but also want to disable delete button,
    i added the APP_SPECIAL.ENABLE('EDIT.DELETE',PROPERTY_OFF); in the pre_block and pre_query trigger but not able to disable the delete item from edit menu.
    Am i doing sometjhng wrong?

    Hi;
    Please check
    How to disable delete button in a form
    How to disable delete button in a form
    Regard
    Helios

  • How to display a Report 9i from Forms if the Report has a Parameter Form?

    Hi,
    could some one please post me a code sample to show how to call a (paper layout, RDF) Report from Forms if I would like it to display the Report's parameter form first?
    Thank you in advance.
    Tamas Szecsy
    I used the following code segment do achieve the job, but I get "REP-546: Warning: The value of restricted LOV parameter P_ALAL is not among the selectable values" message, even though I would like to specify the P_ALAL value on the report's parameter Form.
    declare
    paramlist_id ParamList;
    tmp_riport_name varchar2(200);
    report_id          report_object;
    report_job_id varchar2(200);
    tmp_id number;
    begin
    -- init
    tmp_riport_name := null;
              -- parameter list
    paramlist_id := get_parameter_list('mytmp_params');
    if not id_null(paramlist_id) then
    destroy_parameter_list(paramlist_id);
    end if;
    paramlist_id := Create_Parameter_List('mytmp_params');
    add_parameter( paramlist_id, 'PARAMFORM', TEXT_PARAMETER, 'YES' );
              -- call report
    report_id := find_report_object( 'DUMMY' );
    if report_id.id is null then
         return;
    end if;
    -- display
    set_report_object_property( report_id, report_execution_mode, runtime );
    set_report_object_property( report_id, report_comm_mode, synchronous );
    set_report_object_property( report_id, report_destype, 'preview' );
    set_report_object_property( report_id, report_desformat, 'PDF' );
    set_report_object_property( report_id, report_server, 'rep_geoias' );
         set_report_object_property( report_id, report_filename, :ALAP_REPORTS_NAME||'.rep' );
    report_job_id := run_report_object( report_id, paramlist_id );
    tmp_id := to_number(substr( report_job_id, length(name_in('rep_geoias'))+2 ));
    web.show_document( '/reports/rwservlet/getjobid'||tmp_id||'?server=rep_geoias', '_blank' );
    END;

    I think you specified report object name incorrect.
    in command line:
    repid := FIND_REPORT_OBJECT('REPORT1');
    Report1 must be name of report object in Form Builder.
    However to call report from Oracle Form you must do more work. For example:
    - Create report server name
    - Adding some code to set property for report object base on report server you created.
    Cheer!

  • How to display pie chart in smart forms

    hii experts,
                      my requirement is to display pi chart in smart forms . i have  googled but could not get any meaning full results. If any one knows this pls share ..
    Thanks and Regards
    Aditya Shrivastava

    Hi
    I really doubt If you did search at all in the first place. Anyhow, check this:
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=piechartin+smartforms&cat=sdn_all
    Vishwa.

Maybe you are looking for

  • How to go back to version 2.2

    V3 has ****** me off. How do I go back to 2.2?

  • Browser's helpful URL address bar is not actually ...

    In context to S60's default browser. When you start browser, it takes you to deafult Bookmarks page with URL address bar at the bottom of the screen. And there is pretyped URL http://www. to make life easier where we can starting typing main part of

  • SIT Self Service Error

    Hi Friends, I have one error: I have created one SIT and created one funciton for SSHR page. When I add the details in the SIT segments then i pressed Apply button; it is throwing error: No changes have been made to the information below. To exit wit

  • Should I be doing anything to clean up my computer

    I'm not very techno savvy so just wondering if I need to be doing anything to my iMac to "clean it" up like I did with my previous PC??

  • CiscoWorks RME 4.3 syslog forwarding

    Hello, We are running CiscoWorks RME 4.3 and forwarding syslog messages to another syslog server. To forward messages we use script from https://supportforums.cisco.com/docs/DOC-11592 All is working great at the begining of month. With growing of sys