How to compare Date in the TextField or DateTime with Date/Time field?

Hi All,
I am facing an issue with respect Date comparinson. I tried to look into entire discussions but failed to get the answer.
My issue is: I wanted to comparet Date/time field value with Date value which is in TextField.
The functionality of my form is:
I have dropdown list which lists the registered customer ids binded to XML Datasource. On selection of the customer id from the dropdown I am displaying customer registration date in the TextField or say Date/Time field as below code in dropdown change event.
RegistrationDetails.PurchaseEntry.txtRegDate.rawValue = regDataNode.CREATION_DATE.value; (this is TextField control)
In form I have an Date/Time field in which use will select the date of item purchase. In the validation part I want to make sure that, the purchase date selected in Date/Time field must be greater than the Customer Registraiton Date. I able to compare if the customer selects the date from two different Date/Time fields. But how to compare the dates which one is in Date/Time field and Date is in TextField?
I have tried using Num2Date and Date2Num with "YYYY-MM-DD"  format to compare but not succeed!
Can you guys help me in this? Thanks in advance
Regards.

Hi,
Yes, I am able to display the date which I have assigned to the text box. In the message box it show the value as '31/05/2009', since in this format i am assigining the date in the text box.
Here is the code which I am assigning the value:
RegistrationDetails.PurchaseEntry.txtRegDate.rawValue = regDataNode.CREATION_DATE.value;
Do I need to change the format while assigning value in text box?
You have told that, you have attached your test form, nothing is the reply. Can you repost the file?
Regards.

Similar Messages

  • Date when the cube was filled with data for the last time

    Hi!
    We are using a SAP BW System and on top of it BOBJ for reporting. Within BEx Web Application Designer, it's very simple to access the data, when the cube was filled with data for the last time. Is it possible to access this information within BOBJ, too?
    Thanks for your help!
    Greetings
    Stefan

    Hallo Ingo,
    thanks for your answer. That was exactly what we were looking for.
    We will have to think about a workaround now.
    Greetings
    Stefan

  • My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    I don't get what you are saying.
    Is this all the same document?
    What version of Pages?
    Have you tried to revert to a previous version?
    Peter

  • How can i pay on the apple store online with two credit cards, with two different billing addresses

    I will be greatful if you could answer me this question...
    How can i pay on the apple store online with two credit cards, with two different billing addresses?
    I know that you can use two credit cards to pay an item but the problem is that i can only put the billing address of just one of the credit cards, and since the two cards are from different people (my parents) i can't do it. They live in the same place so i don't know if i should just put one of the billing address.
    Thank you.
    PS. I don't know if this is the right community to ask this, sorry if i'm wrong.

    On the Apple Store "Payment & Pricing" page it states:
    Using more than one payment card
    You can also combine payment methods to pay for your purchase. Choose from the following combinations of credit cards and Apple Gift Cards:
    Credit card(s) - up to two
    Apple Gift Card(s) - up to eight
    Apple Gift Card(s) + one credit card
    During checkout, if you are paying with a gift card issued by a credit card company, you can combine it with one credit card.

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • How do I separate out the unique identities associated with my Apple ID?

    How do I separate out the unique identities associated with my Apple ID?
    Messages sent from my iPad2 appear on both my iPhone 4s and my kid's iPhone 4s as if my phone, her phone and the ipad2 we are all the same sending device. This only occurs when messaging is initiated from my iPad2.
    Conversations I start from the iPad2 show up on my iPhone and her iphone as if she is also the sender, and, if I message her iphone from my iPad she doesn't receive the message. Her device acts as if it is the original sender and logs it as such; messages go unnoticed because her device logs it as a message it sent, not a message recieved- so no message alert. (Ha ha, no, she isn't ignoring me, that is a different story.)
    How do I get the system to recognize, and separate the second iphone from messages I send from my iPad2 while keeping her and her device as an authorized user on the same apple ID?
    This error only occurs when messaging originates with the iPad2. Any thoughts?
    (I worry Mountain Lion will throw all this into a big mess too, messages from my devices showing up on hers and, heaven forbid, vice versa.)

    See Here...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • HT3546 I can't figure out how to install bonjour from the CD that came with my airport express.  Can anyone help?

    I can't figure out how to install bonjour from the CD that came with my airport.  Can anyone help?

    If you are having difficulties installing Bonjour from the Installation CD, you can download the latest version of Bonjour from here.

  • I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    Remember security on a TC is an illusion.
    Simply press the reset button for 1-2 sec.. you must not do too long .. it will then hard reset.. but soft reset will revert all passwords to default for 5min. ie TC password is now public.
    Remember this the next time because anybody at all can change your passwords.
    Once into the TC you can then open the view passwords if you wanted any weaker security. Click and open the TC.. and click on edit.. then go to the top menu..
    Voila .. all your passwords in plain sight to any Tom Dick and Fred.

  • How do you set up the alert for FaceTime with sound

    How do you set up the alert for FaceTime with sound?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
     Cheers, Tom

  • How do I delete all the imported (not synchronized with itunes) photos on my ipad ?

    how do I delete all the imported (not synchronized with itunes) photos on my ipad ?

    Depending on how many photos there are, you can do it diretly on the iPad via the trashcan icon in the top right corner if viewing the photos in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view and selecting the photos to delete (there is no select all option).
    Or you can connect the iPad to your computer and do it via Windows Explorer on a PC by selecting the photos and pressing delete, or on a Mac iPhoto/Aperture should have a delete option at the end of their import dialogues.

  • I am using  MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by ITunes. How do I bring all the bonus tracks together with the original album?

    I am using a MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by iTunes where it has identified bonus tracks. How do I bring all the bonus tracks together with the original album?

    Hello there, Fineshot.
    The following Knowledge Base article might provide some information that should help you resolve the issue you're having:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Steps for loading data into the infocube in BI7, with dso in between

    Dear All,
    I am loading data into the infocube in BI7, with dso in between. By data flow looks like....
    Top to bottom:
    InfoCube (Customized)
    Transformation
    DSO (Customized)
    Transformation
    DataSource (Customized).
    The mapping and everything else looks fine and data is also seen in the cube on the FULL Load.
    But due to some minor error (i guess), i am unable to see the DELTA data in DSO, although it is loaded in DataSource through process chains.
    Kindly advise me, where did i miss.
    OR .. Step by step instructions for loading data into the infocube in BI7, with dso in between would be really helpful.
    Regards,

    Hi,
    my first impulse would be to check if the DSO is set to "direct update". In this case there is no Delta possible, because the Change log is not maintained.
    My second thought would be to check the DTP moving data between the DSO and the target cube. If this is set to full, you will not get a delta. It is only possible to create one DTP. So if you created one in FULL mode you can't switch to Delta. Just create the DTP in Delta mode.
    Hope this helps.
    Kind regards,
    Jürgen

  • How to revert to original, the extracted Audio Tracks with SoundBooth?

    How to revert to original, the extracted Audio Tracks with SoundBooth?
    I have installed the Adobe "MasterCollectionSuite-CS5"-ITA with PremiereProCS5 and SoundboothCS5.
    I made a few test with PremierePro Audio clips and used the option "Make a rendering and extract" with Soundbooth.
    I want know, after that operation:
    - Exists an option (a shortcut) to revert automatically the audio tracks from the extracted Soundbooth clips to the original audio footage?
    - In other words, I want return to the original audio timeline situation, prior to make the extraction with Soundbooth. Is it possible?
    - I know just one method:
    Click and drag the video clip from timeline and release the clip in the "Source"Monitor window. After that I can drag the video+audio at the same start-and-end point of the source and put it into timeline, at the same place...
    But with this method I loose the applied effects and transitions from the edited clips in the timeline...
    Exists another method?
    Thanks!
    Horsepower0171.

    Dear  <http://forums.adobe.com/people/Shai+Schcolnik> Shai Schcolnik
    After you have edited the Audio file in Soundbooth, you should:
    1)      Select the Original Footage in PremierePro > Project Folder
    2)      Select with RIGHT Click the Video+Audio Clip in PremierePro Timeline, and in RIGHT Click Menu choose “Replace/Substitute with clip” > “From Folder”
    3)      Now you can delete in PremierePro > ProjectFolder, the named Audio File “…_Extracted.wav” edited previously with Soundbooth!
    The new one is your original footage!
    Best regards!
    Dario Cavallo  (Horsepower0171).
    “3DC multimedia Productions”
    www.3dc.joomlafree.it
    Italy.
    Da: Shai Schcolnik [email protected]
    Inviato: lunedì 7 gennaio 2013 12:13
    A: Horsepower0171
    Oggetto: How to revert to original, the extracted Audio Tracks with SoundBooth?
    Re: How to revert to original, the extracted Audio Tracks with SoundBooth?
    created by Shai Schcolnik <http://forums.adobe.com/people/Shai+Schcolnik>  in Premiere Pro CS5, CS5.5, & CS6 - View the full discussion <http://forums.adobe.com/message/4973889#4973889

  • I'm taking my ipod to apple to be replaced. it's backed up but does that mean i can re-download all that data onto the new ipod? (app data etc.)

    I'm taking my ipod touch to apple to be replaced as it has battery faults. it's backed up but does that mean i can re-download all that data onto the new ipod? (app data etc.)???

    See my response to your other post

  • Do not use iOS 7. Attempting to install iOS 7 will cause your phone to require a factory reset, thus wiping all your data from the device. Save your data, do not attempt to install the new iOS 7.

    Do not use iOS 7. Attempting to install iOS 7 will cause your phone to require a factory reset, thus wiping all your data from the device. Save your data, do not attempt to install the new iOS 7.

    My phone has been in the Preparaing Iphone for Restore mode for over 2 hrs. I have the following on the itunes page
                Iphone Recovery Mode
              Itunes is restoring the software on this Iphone. 
    I have the Itunes icon and the USB cord display on the iphone home screen
    So I still have 3 hrs to go???  WOW

Maybe you are looking for

  • How can I display a specified row from a chart in a 2nd chart in Numbers?

    I have a chart in Numbers '09, which contains tasks with their due dates. This chart is rather large and is divided into several categories (i.e. home, work, taxes, etc.). Each row in the chart has a task name and due date in addition to other inform

  • Web browser ...need help

    hello everyone..i have built a simple web browser using java..i can go to google.com or facebook.com but whenever i want to search something or want to login providing necessary information it doesnt work..can anyone tell me whats wrong here??nd how

  • How to show mouse over and mouse out effect on a character in Captivate 8 ?

    Hi,

  • Problem in creating attributes

    Hi All, I have a problem adding an attribute to an existing node in an XML document. e.g., Document doc; Element elem; Node n = NodeListObj.item(0); Now i want to add an attribute "type" to this node "n" How do i set the atttrbute of node n ? Could s

  • How to edit wav files

    I've been using SoundTrack Pro 3 to edit WAV files, but I've now bought a sound recorder that creates 24bit 192kHz files. These are too big for SoundTrack, so I thought that Logic Pro would do the trick. So far I've had no success in trying to combin