Splitting up a date field into two fields on display

I have a form that is based on a table which contains two date fields. To populate these date fields I have one date picker using a format of DD-MON-YYYY and two "time" fields that are just based on static LOV select lists. I build the date by piecing together these fields to get my two different dates and save it to the database just fine (using a process on submit, before validation).
My problem comes when I want to edit the existing records. I am unable to figure out how to populate those fields from the dates. I thought I could do it during the page reduring process but everything I try gives me a format error. I can assign the date to the date picker field no problem but cannot get it to display without the date format, regardless of setting the format or not on the item. I can't get the time off into my time fields at all.
An example of setting my start time field (select list of times only)
BEGIN
:P10_START_TIME := TO_CHAR(:P10_DTE_START,'HH24:MI');
END;
Error I get is ORA-06502: PL/SQL: numeric or value error: character to number conversion error
I've tried a few different formats and I think I am just missing something really easy. My static pick list in this case is just the display would be say 1:00 PM but the other value is 13:00.
The other one I am trying is for the actual date picker itself.
BEGIN
:P10_COURSE_DATE := TO_DATE(:P10_DTE_START, 'DD-MON-YYYY');
END;
Gives me ORA-01830: date format picture ends before converting entire input string.
The format of :P10_DTE_START is DD-MON-YYYY HH24:MI (it is a hidden field) and :P10_COURSE_DATE is DD-MON-YYYY.
Colour me confused...

Thanks for the reply...I got this error for the last name piece "A subscript must be between 1 and the size of the array.
". I was able to put in
split({Usr.Nam}, " ")[-1]
and that seemed to pull  the last name piece of the field.
Thanks Again,
Reid

Similar Messages

  • Please help, I am trying to split a HD mp4 video into two parts using Quicktime 10.2

    Please help, I am trying to split a HD mp4 video into two parts using Quicktime 10.2, running Mountain Lion. I use trim then export but it doesn't give the movie option as a format. What would you suggest i do?

    I'm not sure why you're using a FAT32 drive, but using ExFAT instead of FAT32 would be a better overall choice as it doesn't have the 4 Gig limit.
    http://www.tech-recipes.com/rx/2801/exfat_versus_fat32_versus_ntfs/

  • I want to load data parallely into two ods.

    i want to load data parallely into two ods.

    Hai ,
       As Question is not clear........
      U can do this by going in update tab in sechdule menu.
    Regards
    Suman

  • Extract Year (only) from Date Field and Display in Text Field

    I need to extract the year from a user entered date field and display the year in a text field. Can someone help me with the correct script to do this?

    Hi,
    that's quite easy to realize with FormCalc.
    In you date fields exit event add the following code:
    textField1 = Num2Date( Date2Num($.formattedValue, "MM/DD/YYYY"), "YYYY")
    Note: This sample assumes that your date field formats the date with "MM/DD/YYYY". You may have to change the pattern to make it work at your end.

  • Splitting data up into two columns

    Apologies if this is covered previously ( i'm sure it probably is) i've imported .csv into numbers but the first cell contains two pieces of information separated by a space (TI NUMEROLOGY etc) how do I separate into two cells so I can sort data by the different identifers (TI = Title)
    IB 1859060196
    BI PAPERBACK
    AU SHINE
    BC VXFN
    CO UK
    PD 19990923
    NP 128
    RP 9.99
    RI 9.99
    RE 9.99
    PU CONNECTIONS BOOK PUBLISHING
    YP 1999
    TI NUMEROLOGY
    TI YOUR CHARACTER AND FUTURE REVEALED IN NUMBERS
    EA 9781859060193
    RF R
    SG 2
    GC M01
    DE A unique step-by-step visual approach to numerology
    DE characters and compatibility from names and birth dates.

    Hi Alan,
    Another thought. You can sort the data as it is. Click on Reorganize button on the ToolBar:
    To get:
    Every cell starting with TI and a space will come together, and sorted by whatever follows TI and a space.
    However, if it looks nicer to split the entries, use Badunit's formula.
    Alan wrote: "I also clicked on C2 and went to insert/fill/ but the options are greyed out o I can'r apply to all unless I do it manually... and it's a mahoosive file."
      To fill down, click on C2 then drag the white handle down. Or, select the rows that you want to fill before Insert > Fill (Numbers needs to know how far to fill).
    Ian.

  • CRVS2010 beta -  date field not display in details section

    I use Visual stdio 2010 so i install crystal report 2010 for report.
    It work fine .
    but in report detail section there is date field then it will not be display.
    alos if we do group on date field it will give error when we try to open report.
    Plese geve me possible soluction for date field problem.
    Edited by: hitesh_tatva1 on Jun 22, 2010 11:35 AM
    Edited by: Don Williams on Jun 22, 2010 7:20 AM

    Solution Found
    Don't install sp2it sucksclassic case of the cure being worse than the disease.
    Downloading and installing the SP3 redisist fixed the issue.
    This link is probably appropriate:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Software Product->select Crystal Reports
    Version->select Crystal Reports 2008
    important part
    Software Type->Utility Click Search Download the redist install.
    Not very intuitive, but you'll need to do this so you download the runtime and not the full version.
    Hope that saves you the 5 hours it took me to figure this darn thing out...I hate unintuitive products--they aren't very professional.
    +
    SAP, where do I send the bill for supporting your own product?
    I too have the same problem. Hopefully we can get a solution to this soon as the delayed release of the 2010 runtime has us in a difficult place.
    The problem: I upgraded my project to Visual Studio 2010; therefore, I upgraded to the Crystal Reports for Studio 2010 beta.
    Everything worked fine until I modified the app.config so that I could deploy the application into our test environment. We do not have Visual Studio installed in this environment, so we needed to have a Crystal Reports Runtime. According to the SAP website deployment guide, currently the only way to deploy a 2010 app is to use the 2008 runtime by modifying the app.config file to redirect the bindings.
    __Now, none of my date fields appear on the reports.__
    Just to test, in my development environment, I commented out the redirects in the app.config and the dates appeared. I uncommented the redirects so that the 2008 runtime would be used and then my dates disappeared from the report.
    Here is the entry I put into the app.config:
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.Framework" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.InfoStore" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    Your help is much appreciated.
    Thanks,
    Michael
    Edited by: SaganDraxan on Jul 16, 2010 8:23 PM

  • Showing report data columns into two rows instead of one row using SSRS 2012

    Hi All,
    I have a ssrs report with 13 columns and I want to show those 13 columns data into two rows instead of showing in one row. please send me step by step process.
    id     fullname     firstname      lastname        mailingaddress     billingaddress       
    city       state       zipcode   
    1       ABC                A                  C                  
        xyz                      xyz123                   york     
    PA          12345    
     homephone     cellphone          workphone          company    
    1234567890      4567890123     0123456789         ABC,Inc
    id     fullname     firstname      lastname        mailingaddress     billingaddress        
    city          state     zipcode   
    2          XYZ               X                  Z                      
         abc                     abc123           lewisburg     
    PA      54321    
     homephone     cellphone           workphone        company    
    4567890123      0123456789     1234567890         xyz,Inc
    id     fullname     firstname      lastname        mailingaddress     billingaddress        
    city          state     zipcode   
    3       BCD                  B                  D                  
    123abc                  xyz123                leesburg       PA     
     54123    
     homephone     cellphone          workphone        company    
    4567895623      0783456789     1238967890       Hey,Inc
    Thanks in advance,
    RH
    sql

    Do a right mouse click on the left, gray row marker => "Insert Row"=> "Inside Group
    - Above or Below", then you get a second detail row.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Blank or null date fields are displaying 1/1/1901

    I have optional date fields that users may leave blank.  When they do, the result is that my report is printing 1/1/1901 (which I am guessing is a default setting somewhere in the options???)  Can anyone point me in the right direction so that if the field is null, the "text string" & doesn't print?
    Here's the formula, maybe it's a fundamental problem with the way I've done the formula:
    if totext({Command.SHIPDATE}) = ""
    then ""
    else "Needed by: " & {Command.SHIPDATE}
    Any help is greatly appreciated.

    Is SHIPDATE a date type or text field?  I an presuming a text field based on your example.  If the date is defaulting to 1/1/1901, I am guessing that is a function of your database server rather than Crystal Reports.  So I would alter your code to say:
    if totext({Command.SHIPDATE}) = "1/1/1901"
    then ""
    else "Needed by: " & {Command.SHIPDATE}
    Fuskie
    Who notes you could also put the text and data object directly in the report and use a suppression formula instead of a report object formula...

  • How do I split a project in IMovie into two projects?  When I try to burn a DVD RDL in IDVD, it tells me the movie is too long.

    I am running  IMovie 8.0.6.  (OS X Mavericks 10.9.5) How do I split a project into two projects?  When I share it in Media Browser to IDVD, and try to burn a DVD- RDL, it keeps telling me the project is too long.  Do I split it in IDVD and how do I do that?

    AppleMan  Thanks very much for the information, however I could't make it work. I followed your instructions to the letter, in fact I tried every which-way. I created a dedicated file into which I copied and pasted the project from "package contents"  but it was still greyed out when I went to retrieve it. I also found that the file size was reduced to only a few Kb.  Any further step-by-step instructions would be appreciated as I am obviously doing something wrong.  Babowa  It appears that in imovie everything has to be "finalised" before it can be used or shared elsewhere in the same way as a disk has to be to be played elsewhere. Funnily enough an MOV file I converted to Mp4 was not greyed out and I was able to import it.... an exercise I am not keen on because of resolution loss during conversion

  • Data Load into two data targest from one DataSource

    Hi,
    I want to load data into two data targest from one DataSource. I did full load, then Initialization & delta settings for that DataSource. But I want to load data into one data target using delta InfoPackage & into 2nd data target using Full Load InfoPackage. Can I schedule execution of these 2 infopackges one delta & 2nd Full load InfoPackage for the same DataSource simaltaneously?
    Regards,
    Pradip

    Hi,
    In BI, You can achieve this. As thorugh info package, you laod data till PSA only. Then it is being loaded to other data targets.
    Create two DTPs, one with FULL load and another one with Detla Load. It will work.
    In R/3 Side, As sandeep has mentioned , there might be possibility that if you run full load after delta , your delta may get corrupt. i am not sure about that , but there is a possibility.
    - Jaimin

  • Singe Data Source into two seprate server

    Hi,
    I have a requirement to extract the stock data from ECC to BW as well APO. Is it possible to use the 2LIS_03_BF Data source to two seprate server, because my BW is seprate server and APO is seprate server. Please suggest.
    Thanks
    Rama

    Hi Rama,
    As I know the data source concept is available with BW system, so will you be able to use Data source to connect ECC to APO?
    If yes, then directly you can go ahead with this option, because data sources maintains there queues with different target systems.
    Otherwise the option suggested by Gaurav is much feasible.
    Regards,
    Durgesh.

  • Splitting my Apple ID/iCloud into two

    For years, I've had just one Apple ID (and it's a defunct @mac.com address). It's worked fine, but now I want to split my identity... I want to have one Apple ID for iTunes and the App Store, and another one for everything else: contacts, calendar, notes, reminders, iCloud, etc. I'm sharing the iTunes Store one with my daughters, so we can share purchases, but I don't want to share everything else with them.
    Seems like I have two options, both requiring a second Apple ID (which I've already created against a different email address).
    1) Move everything to the new account, except iTunes.
    2) Move iTunes to the new account, leave everything else and change the password.
    I'm not sure if option 2 is possible.
    Is there an easy way to port all my info from one Apple ID (iCloud stuff) to another? Most of what I've seen involves exporting and importing, one thing at a time.
    Any other thoughts on how I might accomplish this? Maybe there's a third option I haven't considered.
    Thanks!

    Everything can be migrated from your iOS device except Notes and any synced documents, such as iWork documents.  Your notes can be emailed to yourself, then recreated in the new account by copying/pasting the text into new notes.  iWork documents can be saved to your iOS device by going (for example) to Settings>Pages, turning off Use iCloud, then opening the Pages app and choosing to keep the documents on your device.  Once signed into your new account, go back and turn Use iCloud back on and the documents will be added to your new account when you reopen the app(s).
    To migrate to a new account, start by saving any photo stream photos on your iOS that you want to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud, open each of them and email them to yourself so you can later copy and paste the text into new notes created in your new account.  If you are syncing iWork documents, save these to your device as mentioned above.  Then go to Settings>iCloud, tap Delete Account, provide the password (if using iOS 7) and choose Keep on My iDevice when prompted.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.
    You will only have to do this on the first iOS device.  On your other iOS devices, just save any photo stream photos that you want to keep on the device, delete the account, and provide your password and choose Delete from My iDevice (since the data is already in your new account) when prompted.  Then sign back in with your new ID.
    On your Mac, go to System Preferences>iCloud, click Sign Out, and choose Delete at all of the prompts.  Then sign back in with your new ID and the iCloud data will download from the new account.

  • Formating Invoice Date field to display in Japanese format 2012年2月22日

    Hi ,
    I need expert help in Crystal reports for formatting a field which contains date in Japanese format.
    I need to develop a Japan report that has invoice date as 2012年2月22日 which means 22-Feb-2012.
    Thanks,
    Ravi

    Thanks.. you saved my time.
    I have found the solution for this issue
    totext(year({shiphead.ShipDate}),0) & '年' & totext(month({shiphead.ShipDate}),0) & '月' & totext(day({shiphead.ShipDate}),0) & '日'
    However your solution looks good. Short and sweet.
    totext({shiphead.ShipDate}, 'yyyy年MM月dd日')
    Thanks,
    Ravi

  • Chinese Data Fields not displaying Chinese Characters

    Hi There,
    Wonder if someone can help. We are currently running reports in Crystal 8.5 but are in the process of upgrading our business systems to latest version and this includes converting all our Crystal 8.5 reports to Crystal Reports XI R2 SP4.
    During the process we are experiencing some difficulties in displaying Chinese characters, which have previously worked fine in version 8.5. The system we are running Crystal from has Oracle client 11 installed and the OS system locale is set to Chinese PRC. Our application is displaying Chinese characters properly and if we have any text fields on the report, these are also displaying properly when changing Font to Arial Unicode MS. The only thing that doesn't display properly is the field data which after checking has the correct Chinese data stored in the database. For some reason Crystal 11.5 doesn't seem to be transferring the data correctly which points to some sort of encoding problem.
    Is there something I am missing here or is there something else I need to install for this to work?
    Any hep would be appreciated.

    What is your Oracle database's language set? Is it set to UTF-8 or non UTF-8 (such as American_America.WE8ISO8859P1" )?
    There is a similar issue tracked under ID ADAPT00528561 (Crystal cannot display non-UTF-8 Chinese characters from an Oracle database ) and has been fixed and you should set the following registry key to make it effective:
    Set the following registry key "UseOSLocaleForConversion" to "Yes" under:
    HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Crystal Reports\Database\Oracle

  • How do I split an iTunes account/library into two?

    Hi.  I have a single Apple ID and iTunes library that I share with my son. 
    We would like to split the library up so that he has his own account and library on his laptop and I retain my own stuff on my PC.  We don't need to share any of the stuff in the library - he likes his stuff and I like mine - so all I need to know is how to divide it up and to move his stuff onto the laptop. 
    Can this be done?
    If so how?
    Thanks in advance for your help.
    Stephen

    Stephen J Walsh wrote:
    Thanks.  Almost none of my stuff was downloaded from the Apple store.  It's mostly cds that I have downloaded and tracks I have bought from Amazon.  Would it be possible to put them into a separate account?
    No. An iTunes account is for only iTunes purchases.
    You can put them into a separate iTunes library.
    The simplest way is to copy the entire /My Music/iTunes/ folder from your computer to /My Music/ on his computer. His library will be identical to yours.
    Then each of you can delete what you don't want.
    He can use teh iTunes account you have now and change the info in it to his own.
    You can create a new iTunes account for yourself if you want one.

Maybe you are looking for

  • What is the effect of the service account permissions

    Hi, What is the effect of the service account permissions? For example, suppose the service account for SQL Server database engine is SomeDomain\A, and has no permission to execute stored procedure X, and a user with domain account SomeDomain\B does

  • ITunes library

    How do I change the order of songs in my library? When I attempt to drag a track to another position in the library, it doesn't move.

  • Clear Customer f-32

    Hi all I am using f-32 to clear customers accounts is there is any option to clear customers in mass . I can schedule auto clearing of customers as I am having 8000 odd customers if mass clearing or auto clearing  is available please suggest me the t

  • Hdiutil: verify failed - corrupt image

    problem: sparseimage is not mountable and verify ends with a "hdiutil: verify failed - corrupt image". cause: tiger crashed and the image was mounted. the only way to boot was power down the machine. after the reboot the image was not mountable anymo

  • HT201250 what do I do if my passport for mac does not delete the old files when the disc is full

    What do I do  if the time machine does not delete the oldest files on my passport for mac. I get the message backup failed not enough disc space available