Having problems with date difference

Hello People...
Im having a problem.
I have this cursor :
select request_id,
batch_id,
message_id,
date
from tb_message_pi_new
where datediff(minute, date, getdate()) > 5 --*****this line
and status = 1
in the where clause, there is a function datediff (this a sybase's function, that returns the minute subtracting the field Date - sysdate) and returns the minutes....
How can i do this cursor on Oracle???
thank you!!!

Assuming that getdate() is a function that you've written that returns a date, you can do it like this
select request_id,
batch_id,
message_id,
date
from tb_message_pi_new
where (sysdate/1640) - (getdate()/1640) > 5
and status = 1
This works because there are 1640 minutes in a day; for hours the test would be where (sysdate/24) - (getdate()/24) > 5
HTH, APC

Similar Messages

  • Problem with Date difference in OBIEE

    Hi,
    OBIEe- 10.1.3.4
    My exp: Beginner in OBIEE
    I have a requirement to calculate a policy age with the date columns from a policy table these are.
    The columns involved are as below:
    1. policy_effective_date alias EFD
    2.policy_start_date alias STD
    3.policy_expiry_date alias EXD
    so my functionality is based as below
    Policy Age = (CASE WHEN EFD > sysdate THEN trunc( months_between( STD, sysdate ) /12 )
    ELSE trunc( months_between(EXD, STD) /12 ) END)
    I have implemented the same in OBIEE as
    Policay Age= CASE WHEN CAST (EFD AS TIMESTAMP ) >
    CURRENT_DATE THEN TIMESTAMPDIFF( SQL_TSI_YEAR , CAST (STD AS TIMESTAMP ), CURRENT_DATE ) ELSE TIMESTAMPDIFF( SQL_TSI_YEAR , CAST (STD AS TIMESTAMP ),
    CAST (EXD AS TIMESTAMP )) END
    PROBLEM!!!!: I am having the following data in the database
    EFD=06-OCT-05
    STD=06-OCT-99
    EXD=06-OCT-06
    Ideally the answer should be 7 years that is 2006-1999= 7 years but instead it gives "-93 years " thats because it does a 06-99 =-93 years.
    Please can anyone suggest where and what Date conversion can I use in the OBIEE formula??

    Try with extract year from (date column ) , it may solve your problem...

  • Having problems with data and messaging.

    I am having an issue with my net and messaging for my phone, and have been having these issues going on 3 weeks now. I still cannot receive nor send any photos or emails and the only internet or data access I can get ANYWHERE is inside my home. My mobile Data doesn't work and even if I sync to other wifi networks I cannot access the internet at all. I also bought the 3gig bridge data pack, and got the confirmation e-mail but it has not been added to my account and I bought it 2 weeks ago...
    ALSO, I cannot reveive or send any picture messages anymore. Sice, number, it doesn't matter, I can't do it. It's upsetting because I would like to share the photos from a recent trip with family and friends.
    This is VERY frustrating since I have only had this phone for a month.

    whitewaltz,   Help has arrived! We understand how important it is to make sure all of the features on your device are up and running and we'd love to take a closer look.   What model phone do you have? What zip code are you experiencing this issue in? Are multiple users affected? Has this affected voice calls? How many bars of service do you have on your device when experiencing this issue?  EfrainM_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this

    having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this.
    I'm using Lion on an MBP and Numbers is the latest version

    May you give more details about what is wrong with your dates ?
    M…oSoft products aren't allowed on my machines but I use LibreOffice which is a clone of Office.
    When I export from Numbers to Excel and open the result with LibreOffice, the dates are correctly treated.
    To be precise, dates after 01/01/1904 are correctly treated. dates before 01/01/1904 are exported as strings but, as it's flagged during the export process, it's not surprising.
    Yvan KOENIG (VALLAURIS, France) mardi 3 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • HT201210 I m having problems with both my iphone 3gs and 4 when my cellular data is on and my battery is fully charge but out of suddenn it will shut off can i know how can i troubleshoot this issue thanks

    I m having problems with both my iphone 3gs and 4 when my cellular data is on and my battery is fully charge but out of suddenn it will shut off can i know how can i troubleshoot this issue thanks

    simply try doing a back up and restore
    when going thru the activation screen, select SET UP AS NEW and then test your device. if it is not shutting down then it could be 1 or more apps tht have been downloaded wch could be affecting the device
    you will then need to follow the process of eleimnation, meaning add 2 apps and then monitor your phone, if nothing happes then add another couple of them and then check
    good luck !!

  • Having problem with the apple tv, because it still setting date and time and dont finish w the activation

    having problem with the apple tv, because it still setting date and time and dont finish w the activation

    That means it is having trouble connecting to the network. Make sure location is set correctly. Go to settings - general - network and ensure DNS is set to automatic. Check that your router is up to date. If on wifi try Ethernet.

  • HT4623 Is anyone else having problems with the new up date?  it's messed up all my passcode and everything

    Is anyone having problems with the new update?? it has messed up my mail I can't send and all my passwords are messed up

    Is anyone having problems with the new update?? it has messed up my mail I can't send and all my passwords are messed up

  • I am having problem with MDV Studio.

    Hello happy guys, whatzup? Guess all ya 'r doing fine? Right!
    I am using Dreamweaver from Macromedia Studio 2004. I am having problem with Inserting Record into Access database using the forms I create on my .asp document. I am using IIS and Javascript as my Document Technology. The error I usually have is:
    "Technical Information (for support personnel)
    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
    /site_files/user_regform.asp, line 78
    Browser Type:
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.28 Safari/530.5
    Page:
    POST 41 bytes to /site_files/user_regform.asp
    POST Data:
    uname=Honesty&pword=admin&MM_insert=form1
    Time:
    Tuesday, June 02, 2009, 1:49:39 PM"
    Please I need assistance on how to solve this problem. Thank you.
    Similarly, I don't really know how to write sql strings - I just give commands and Dreamweaver will generate the sql strings. Yet, I still observe errors. But I think, for the sql aspect, I'm undergoing a tutorial note that I downloaded on the internet.
    Please help me to solve this error problem at the moment. The sql knowledge is not the problem. I can get that at my leisure.
    Thank you.
    Eyo Eyo (Nigeria).

    It sounds like you do not have an internet connection (wifi arcs in the upper left does not mean you have a connection) since Safari does not work also.. Try the following:
    - Reset the iPod. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset networks settings: Settings>General>Reset>Reset Network Settings
    - iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections

  • Am I the only person having problems with Verizon's refurbished Androids?

    The best way for me to share my issue, is to submit a copy of a letter I have written to Verizon.
    I have been a loyal Verizon customer for many years now.  I have enjoyed good service until my most recent phone purchase approximately 18 months ago.  I purchased an HTC Android, which did not work properly.  It was immediately replaced with a refurbished phone from the manufacturer, which also did not work properly.  That phone was replaced with another refurbished phone form the manufacturer that did not work properly, but after being given NO OPTIONS, I learned that I would have to live with a partially functional phone. For approximately a year I learned to live with the fact that my date/time stamp would disappear, that sometimes my phone ringer would not work, that I would never get an alert sound when a text message arrived.  The worst part of this phone is that periodically it would dump/erase all my text messages.  Since Verizon could not solve the problem and since Verizon blamed the manufacturer, I had no options, had no choices.  Part of being with Verizon and my crappy phone was forced upon me with a 2 year contract.  I would only have to be miserable for one more year.  Then one day my phone erased some very important text messages. At this point, I had already spent hours and hours and hours with your tech support, and I decided I needed to try and force a solution.  While talking with one of your tech people, I learned that the last phone I had been sent was sent to me with Beta software.  The software was so outdated that the phone was not updating itself.  In fact we could not update the phone manually.  So, the tech person put me into yet another HTC.  That HTC did have up to date software, but I was still having problems texting, date disappearing and other glitchy things.  So, then the next tech person put me into a Motorola.  Leary of droids, I asked for an Iphone but was refused.  The tech person told me that I could use my HTC charger for the Motorola, and that he would not be sending me a Motorola charger for the phone.  I understood.
    So, I’ve been very patient throughout this.  I figured I just had a few more months to get through this misery, wait for my contract to expire, get the Iphone.  Well, I had not idea that the WORST WAS YET TO COME!  So, the Motorola doesn’t charge.  I tried charging that phone for 3 days, and nothing.  So, back on the phone with your tech support.  By the way, whomever reads this letter, I hope that someday you have to go through the tedious phone trees that I had to, only to get to Tech Level 1 which pre-screens, then you have to explain your story ALL OVER AGAIN to level 2 tech support.  Of course, I now realize that Verizon thinks that I have hours and hours of time, that it is more important for me to burn 2-3 hours of my time to save Verizon 10 minutes of their time.  I now realize just what a low opinion the company has of its “clients.”  I actually can’t refer to myself as a client anymore; I think I am one of Verizon’s chumps.
    So, back on the phone, more misery, more trips to the post office.  This tech person could not believe that the new Motorola was not charging, and when I asked her if I could just get an Iphone, she said, “If you are returning a functional phone with the idea that you will get an Iphone, we will charge your for the returned phone.  They will test the phone when it arrives, and if there isn’t anything wrong with it, we will charge you.”  WOW.  So, not only have I not had a phone that works properly, but I have wasted hours of my valuable time on the phone and running to the post office returning phones, but now I am being threatened by your employee who was implying that I am a liar.  BUT WAIT, IT GETS WORSE!   So, she sends me another Motorola, and this phone wouldn’t take a charge either.  DO YOU THINK SHE SHOULD HAVE SENT ME A MOTOROLA CHARGER INSTEAD OF MAKING ME USE MY HTC CHARGER?!  How much money did you save here, $3 for a charger? So the new phone doesn’t charge, and of course now I am back on the phone tree with your tech support. BUT WAIT, IT GETS WORSE! CAN YOU BELIEVE THAT THE WORST IS YET TO COME?
    So now I’m very angry. At some point, after a company FAILS you over and over, at some point you have to take matters into your own hands.  I figured I am at that point.  I ask again for a Iphone, and they say No.  At this point I figure I may have to file a small claims against Verizon or pay off my contract, something dramatic, something that will solve the problem. I am now writing down employee names etc.  This all went down last Friday, August 24th.  I talked with Deshanee.  Deshanee determines that the problem is the charger, but I explain to her that I have been reassured by two other tech people that my HTC charger is fine.  I told her I was leaving town and needed this resolved.  She said that I needed to go to a corporate Verizon store, and there she would arrange for a manager to give me a charger and charge the phone. Really!   So during rush hour traffic on a Friday, I get to run to a Verizon store and test something that might not work!!!!! Whomever reads this letter (if it every gets read), I hope that someday you have to go through this hell, frantic, running around, not knowing if I will have this resolved before my trip, and the HUMILIATION of having to do a tremendous amount of footwork, wasted time, wasted hours.  You people must really despise your client/chumps to put us through this misery and HELL!  I told  her that that was unacceptable that I wanted to talk to a supervisor.  If I go to a Verizon store during rush hour traffic on a Friday, going on my SIXTH REPLACEMENT PHONE ISSUE, I wanted to know the problem was going to be resolved.  I am not a lab rat to be sent around town for an experiment.  I asked her to get a supervisor and have him authorize me an Iphone. Deshannee reluctantly consulted with a man by the name of Chad (she refused to give me his last name), and he said, “No.”   He did not have any other solution for me other than to run to the Verizon store and test out a new charger.  I had visions of me sitting in a Verizon store for 2 hours waiting to see if a phone would charge.  At this point I am HATING VERIZON.  You have no idea the depth of my anger and resentment towards your company. I wanted to personally talk to Chad, and since it looked like I would have no other choice than to follow my orders from Verizon, I started my way to the Verizon store.  By the way, there is a Sprint store within two blocks of that corporate, Verizon store. 
    So Chad is not available but Denshanee connects me with a very nice supervisor by the name of Mary. Both Denshanne and Mary were courteous and professional, and I do not blame them for anything.  I BLAME VERIZON for not giving them any customer service tools to work with.  After all I have been through, figure out a way to resolve the problem once and for all.  I had to come up with the idea terminating my contract, paying the $200 penalty, Verizon crediting me back the $200, and then I would BUY the ****** IPHONE! I suggested this to Mary, and she said that only the Customer Loyalty Dept could authorize that.  So, after being on hold for quite a while, she came back to me to tell me that the Customer Loyalty Department would not authorize it.  I was left on my own. Since the Corporate Verizon store would not give me a charger for my phone, I had to buy one.  They sold me a Verizon, Universal Wall Charger. More to come on this later. Turns out EVEN THIS ISN’T RIGHT! They should have sold me a Motorola charger.  It has taken me weeks to figure out why I can’t transfer data!!!!   So, I have spent hours on the phone with Verizon tech support to try and figure out why this ****** phone won’t transfer data. Verizon tech support was NO HELP. THEY DON’T KNOW.  So, I had to call Motorola tech support to find out that Verizon’s Universal Wall Chargers are not used for data transfer. If you people were actually trying to drive me crazy, intentionally, I would be afraid for my life.  If this is your level of competence when you are trying?
    I went on my trip and of course, when I arrived in Europe, my phone did not work.  I had to get on your tech support again, and it took 2 hours to trouble shoot the problem.  Even though I had called several times to ensure my phone was international ready, to make sure I had a calling plan and a data plan, no one bothered to fill my requests.  I believe I should record every phone call to Verizon, document everything. So, even after I got on a data plan, I received alerts that I was mounting over $1,000 in data roaming charges.  I had to call Verizon several times from Europe to remedy this.  You people just love making things hard.  I hate Verizon. 
    So, my new Motorola does not transfer data to my computer, for a reason I am not sure of, but Motorola claims I have the wrong USB cord.  I requested a car charger and was denied that today by your tech support person, Vondra.  She said that Verizon only warrants phones, and that we have to buy the chargers and such.  Yeah, of course Verizon doesn’t; that would cost you $3?  So, I called the Verizon corporate store on La Cienega, the store that refused to give me a charger, that made me buy one (one of your tech people did credit me back for that BTW).  I spoke with the manager, Vanessa.  She said that they don’t carry Motorola chargers. They sell the phones, but not the chargers.  I explained to her about the data transfer problem I was having, and she suggested I buy a memory card reader.  GREAT.  So, Verizon’s solution is to abandon the idea of having the proper equipment, piece meal a solution and yes, make me pay for it!
    So, another item, which your tech support cannot solve, is that the phone does not work while it is being charged.   So, I called tech support again, asked to speak with a Supervisor.  I was put on hold for a long time, and the tech support person came back and told me that there were no supervisors available and that one would have to call me back.  I asked her the name of the supervisor that is supposed to call me back, and she said, “Alvin.”
    So, a day has gone by and no call from Alvin.  I doubt he will call.  Your company is obviously going through some rough times.  I am sure that within a few months, Verizon’s incompetence and failings will start to be reflected in your ratings
    I have visited the Sprint store, and I am familiarizing myself with what they have to offer. Early next year my contract expires, and most likely I will leave Verizon. I should take you to small claims court!  Most of all, I so much regret all the people I referred to you, dozens.  I talked up your network, I told everyone how happy I was with the service.  I was your advocate.  No longer, and I am not putting the same effort into letting people know how horrific Verizon has been with me during these last 18 months.  I am counting the months until my contract expires.  I will limp along with this broken phone until my contract expires, just has I have done with all the other defective phones Verizon has provided me with.  For a year my HTC phone ran on the first generation software, and I managed to just use it as phone, nothing much more, and that’s what I’ll have to do with this ****** piece of crap.

    I believe you,  Ihave been a subscriber for over 8 years and over that period of time I have has some phones fail.  This I can accept and understand, however the policy of Verizon of only sending out recertified phones is a joke.  I have had over 10 replacement phones sent out to me an none have actually lasted more that 1 month.  Last year this went on and on, I was able to fix this by upgrading to the samsung stratosphere.   My son's Pantech phone failed and was replaced several  times and to  resolve this, I ended up purchasing a replacement from  Amazon.
    My worked fine at first, then the internet started to get really buggy and hard almost impossible to connect.  I was very hesitant to have them send a replacement because of my experience with the replacement phones, however I had to concede because I could not connect to the Internet.  I was assured that the replacement would undergo a 100++ point check.  It arrived and I was happy with it, however a week later, it stopped charging. I spoke with a supervisor and the options he had for me was 1. keep going thru the warranty replacement process, 2 they will send me a downgraded phone (a 3G, unlike the 4G that I bought) or 3. they will buy it back for ... wait for it...$68. Another supervisor told me then they will have to keep sending out phones, every week if needed.  
    As expected the replacement phone failed again, and out of frustration I called again and they connected me to a manager immediately (my account is flagged because I filed a complaint with the BBB.  And for once I got a helpful person, he told me they could not ship a new phone, but a different brand, the Motorola Droid 4, I said I want to keep the Stratosphere because of the car dock and desk dock, he said they would give me new docks as well.  This seemed like a good deal, so I accepted.  The Droid arrived and I was setting it up, transferred the sim, the 32 GB SD card, contacts and all.  I noticed that the sim was not registering, it showed no data, I tried to remove it and it BURNED my hand, needless to say it fried my SD card with all the data, photos, etc....
    When I was using a basic phone, this was not a big problem, just move your contacts and you are done. With smart phones this is a lot harder, you have to load all the apps and settings again.  My stand is that I am paying $200++ a month for decent service... not even perfect, just decent.  I get defective phones and Verizon is not willing to rectify this.  I spoke with someone from the executive office of verizon and basically her answer was to keep replacing the phones until one works,, buy an new one at full retail price or get it from a third party like Amazon or Ebay....or...get this since I am 5 months away from my upgrade date, they will LET me do an early upgrade to any non apple product, but PAY an early upgrade penalty. 
    Right now I think that I will use one of my phones, BUT I will aside from the complaint with the BBB, I am filing a complaint with the FTC.  I wrote this on the forums a few weeks ago, but of course no one from Verizon will have the B@ll$ to answer this. 
    Message was edited by: alexander ruiz

  • I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    Check to see if there are Updates available... If already up to date...
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • Tp ended with error code 0247 - addtobuffer has problems with data- and/or

    Hello Experts,
    If you give some idea, it will be greatly appreciated.
    This transported issue started coming after power outage, sap system went hard shutdown.
    Then we brought up the system. Before that , we do not have this transport issue.
    our TMS landscape is
    DEV QA-PRD
    SED-SEQSEP
    DEV is having the TMS domain controller.
    FYI:
    *At OS level, when we do scp command using root user, it is fine for any TR.
    In STMS, while adding TR in SEQ(QA system), we  are getting error like this.
    Error:
    Transport control program tp ended with error code 0247
         Message no. XT200
    Diagnosis
         An error occurred when executing a tp command.
           Command:        ADDTOBUFFER SEDK906339 SEQ client010 pf=/us
           Return code:    0247
           Error text:     addtobuffer has problems with data- and/or
           Request:        SEDK906339
    System Response
         The function terminates.
    Procedure
         Correct the error and execute the command again if necessary.
    This is tp version 372.04.71 (release 700, unicode enabled)
    Addtobuffer failed for SEDK906339.
      Neither datafile nor cofile exist (cofile may also be corrupted).
    standard output from tp and from tools called by tp:
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0247

    when we do scp using sm69,
    SEDADM@DEVSYS:/usr/sap/trans/cofiles/K906339.SED SEQADM@QASYS:/usr/sap/trans/cofiles/.
    it throws the error like below,
    Host key verification failed.
                                                                                    External program terminated with exit code 1
    Thanks
    Praba

  • I'm still having problems with XUL Runner - please help am getting desperate!

    I recently sought help over a problem I am having with FF. When I try and load it, I get a message telling me that XUL runner 1.9.2.11 is not compatible with 1.9.2.12. The advice I received was to do a clean install. I have done this a number of times - using the Uninstall option in Control Panel as well as running the uninstall utility in the Firefox program folder. Each time I reinstall, and get the same problem. The only difference is that a few days ago I was installing FF 3.6.10, and that gave the error message that XUL runner 1.9.2.11 was not compatible with 1.9.2.10.
    I have FF set as my default browser, so when I click on links in e-mails, etc. I get the same failure to load symptoms. However, I found by chance that FF works OK in conjunction with System Mechanic 10 - a maintenance utility I have on my machine. If I select the on-line help option from that Menu, FF loads and runs OK. I can open new tabs and have no problem loading other pages. However, even with FF open, if I click a link in an e-mail, I get the XUL Runner error message.
    Although not all symptoms are the same, I am also having problems with IE8. When I run the program it loads, shows a 'connecting' message in the tab header, then closes. If I uninstall FF, then System Mechanic selects IE8 as the default browser, and as with FF, loads OK.
    Chrome and Safari both run OK (thankfully). there must be someone out there who knows what this all points to - is that person you?!
    Note: Trouble shooting information retrieved using FF when opened with System Mechanic.

    If you have such problems then you need remove the Firefox program folder before installing a new copy of the full Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.

  • Having problem with UDF, getting unwanted result Ljava.lang.String;@25c560

    Hi,
    This is atually a follow-up to other post in the same forum: <b>Sending XMl message as text (Mail body) by receiver mail adapter</b>
    We are having problem with UDF to get correct output.
    We are getting <b>result of UDF</b> as below:
    [[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>]
    Does any body know what it mean?
    Following are the source ans target XSD's:
    Here is the <b>source xsd:</b>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://NameSpace" targetNamespace="NameSpace">
    <xsd:complexType name="row">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    5e090470385011db9654000e7f22e9d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="DeliveryNumber">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a0377b11db91dbf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="10" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="DeliveryLineItem">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a1377b11db98aaf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="6" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderNumber">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a2377b11dbc5c4f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="10" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderLineItem">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a3377b11db9d84f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="6" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="BillToID">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a4377b11dbb49bf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="17" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="BillToName">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a5377b11dbb38ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ShipToID">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a6377b11db9370f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="17" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ShipToName">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a7377b11dbb66cf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ProductCode">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a8377b11db8f94f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="18" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ProductDesc">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0a9377b11db929ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ScheduledLoadDate">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0aa377b11db8d1df237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="8" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ScheduledLoadTime">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ab377b11dba57ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="6" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Carrier">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ac377b11dbcc03f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="40" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="CustomerPO">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ad377b11dbb5a2f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="35" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OutYard">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0ae377b11dbcc51f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="16" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderedQty">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0af377b11dbbe6cf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="15" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="OrderUofM">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b0377b11db9264f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="3" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="LabConc">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b1377b11dbb0e7f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="GrossMT">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b2377b11db99f1f237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="4" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="GrossST">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b3377b11db9b6ff237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="4" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="BilledQty">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b4377b11db8a9af237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="8" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Status">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    9d3ac0b5377b11dba39cf237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:length value="10" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="resultset">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    5e044980385011dbb2d3000e7f22e9d4
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="row" type="row" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    c1cb8fd0377b11db912af237ac102206
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    <b>Target xsd:</b>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/Mail/30" targetNamespace="http://sap.com/xi/XI/Mail/30">
    <xsd:element name="Mail">
    <xsd:annotation>
    <xsd:documentation>
    Mail package for XI - Mail Adapter
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Subject" type="xsd:string" minOccurs="0" />
    <xsd:element name="From" type="xsd:string" minOccurs="0" />
    <xsd:element name="To" type="xsd:string" minOccurs="0" />
    <xsd:element name="Reply_To" type="xsd:string" minOccurs="0" />
    <xsd:element name="Content_Type" type="xsd:string" minOccurs="0" />
    <xsd:element name="Date" type="xsd:dateTime" minOccurs="0" />
    <xsd:element name="Message_ID" type="xsd:string" minOccurs="0" />
    <xsd:element name="X_Mailer" type="xsd:string" minOccurs="0" />
    <xsd:element name="Content" minOccurs="0" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:documentation>
    any type
    </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="encoding" type="xsd:string" />
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    And <b>following is the UDF we are using</b>:
      =========================================
    String mailBody = new String();
    int inta, intb, intc, intd, inte;
    inta = a.length;
    intb = b.length;
    intc = c.length;
    intd = d.length;
    inte = e.length;
    for(int i = 0;  i < a.length; i++)
      mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
    result.addValue(mailBody);
    ====================================
    <b>Any help to resolve this would be very helpful.</b>
    Thanx
    Sue

    Hi Bhavesh,
    We are getting following error if we use the UDF you given below:
    Check Result for Object test   Source code has syntax error:  D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: a is already defined in testUDF$(java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],com.sap.aii.mappingtool.tf3.rt.ResultList,com.sap.aii.mappingtool.tf3.rt.Container) int a = a.length(); ^ D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: int cannot be dereferenced int a = a.length(); ^
    We have no knowledge of java at all.
    We did some modifications to it as below:
    String mailBody = new String();
    int a = a.length();
    int b = b.length();
    int c = c.length();
    int d = d.length();
    int e = e.length();
    for(int i = 0; i < a.length(); i++)
    mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
    result.addValue(mailBody);
    It it didn't work. Think we are missing something. Can please help us to figure it out.
    Thanx
    Sue

  • Having Problem with JSP In Netscape!HELP!!!

    HI to all! I�m having problem with the jsp that i have :( If i use the Internet explorer it works but at Netscape... it doesn�t work :( The value of "PTE" is null... I need help !!!Please! I think the HTML IS NOT HELPING ...
    the code is :
    <html>
    <head>
    <!--tp001_transferencias_oic_POR.jsp-->
    <title>BBVA - Transfer&ecirc;ncias - Transfer&ecirc;ncias OIC</title>
    <LINK rel=STYLESHEET type='text/css' href="estilos/tablas.css">
    <!--script language="javascript" src "js/dynlayer.js"></script-->
    <script language="Javascript" src="js/banner.js"></script>
    <script language="Javascript" src="js/tp_oic.js"></script>
    <script language="Javascript" src="js/utilidades.js"></script>
    <script language="javascript" src="js/limpar.js"></script>
    <script language="javascript" src="js/tiempo.js"></script>
    </HEAD>
    <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" class="pag-contenido" onLoad="controlSesion();">
    <%@ include file ="includecbtf.jsp" %>
    <% String s = (String)datos.get("dt");
    java.util.StringTokenizer str = new java.util.StringTokenizer(s, "-");
    String anoServer = str.nextToken() ;
    String mesServer = str.nextToken() ;
    String diaServer = str.nextToken() ;
    %>
    <!--1�form-->
    <form method="post" name="captura" action="<%=urls.get("action")%>">
    <center> <!--1�center-->
    <br>
    <!--1�table-->
    <table border="0" cellpadding="0" cellspacing="0" width="500"> <!--table das transf e nome-->
    <tr>
    <td colspan="3"><img src="images/linea.gif" border="0"></td>
    </tr>
    <tr>
    <td width="250"><img src="images/traspasos.gif" border="0"></td>
    <td width="82"><img src="images/titular.gif" border="0"></td>
    <td width="169" class="fondotitular"><font class="texttitular"><%=datos.get("usuario")%></font></td>
    </tr>
    <tr>
    <td colspan="3"><img src="images/linea.gif" border="0"></td>
    </tr>
    </table> <!--Fim do 1� table-->
    <br><br>
    </center> <!--Fim do 1� Center-->
    <center> <!--2� Center-->
    <!--Conteudo do table 2-->
    <table cellpadding="3" cellspacing="1" border="0" align="center" width="500"> <!--table referente a mensagem-->
    <tr>
    <td class="cabeceratitulo" colspan="2"><p class="titulotabla">Nota : As Transfer&ecirc;ncias para outras Institui&ccedil;&otilde;es de Cr&eacute;dito decorrem de acordo com os hor&aacute;rios da Compensa&ccedil;&atilde;o Interbanc&aacute;ria, n&atilde;o se responsabilizando o BBVA pela sua realiza&ccedil;&atilde;o fora das regras em uso.</p></td>
    </tr>
    <tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
    </table> <!--fim do table2-->
    </center> <!--Fim do 2� Center-->
    <center> <!-- Inicio 3� Center-->
    <!--Conteudo da table Combo-->
    <!--Table3-->
    <table cellpadding="3" cellspacing="1" border="0" align="center" width="500">
    <tr>
    <td class="cabeceratitulo" colspan="2"><p class="titulotabla">Transfer&ecirc;ncia Conta a Conta para outras Institui&ccedil;&ocirc;es de Cr&eacute;dito</p></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100">
    <p class="dato">Conta Ordenante:  </p></td>
    <td class="formgrisosc" width="300">
         <%
    java.util.Vector v = (java.util.Vector)(datos.get("ListaCuentas"));
    java.util.Hashtable elem;
    java.util.Enumeration e = v.elements();
    %>
    <!--1� Select-->
    <select name="conta" size="1" class="formgrisosc">
    <%
    while (e.hasMoreElements()){
    elem = (com.ibm.dse.base.Hashtable)(e.nextElement());
    String cuenta = ((String)elem.get("s_banco")).trim() + "-"+((String)elem.get("s_oficina")).trim()+((String)elem.get("s_dcontrol")).trim()+((String)elem.get("s_num_cuenta")).trim();
    out.println("<option value=\"" + ((String)elem.get("s_tipo")) + "$" + ((String)elem.get("s_clave_asunto")) + "\">" + cuenta + "</option>");
    %>
    </select> <!--Fim do 1� Select-->
    </td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">Data de Processamento:</p></td>
    <td class="formgriscla">
    <input type="text" name="dia" size="2"class="formgriscla" value="<%=diaServer %>" maxlength="2" class="formgriscla"> / 
    <input type="text" name="mes" size="2"class="formgriscla" value="<%=mesServer %>" maxlength="2" class="formgriscla"> / 
    <input type="text" name="ano" size="4"class="formgriscla" value="<%=anoServer %>" maxlength="4" class="formgriscla"></td>
    <input type="hidden" name="dact" size="2"class="formgriscla" value="<%=diaServer %>" maxlength="2" class="formgriscla">
    <input type="hidden" name="mact" size="2"class="formgriscla" value="<%=mesServer %>" maxlength="2" class="formgriscla">
    <input type="hidden" name="aact" size="4"class="formgriscla" value="<%=anoServer %>" maxlength="4" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100"><p class="dato">Moeda: </p></td>
    <td class="formgrisosc"><p class="dato">
    <!--Select 2�Ver este bem-->
    <select name="Moeda" size="1" class="formgrisosc">
    <option value="PTE" selected>Escudos</option>      
    <option value="EUR">Euros</option>
    </select> </p>
    </td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">Import&acirc;ncia:</p></td>
    <td class="formgriscla"><input type="text" name="importancia" size="20" maxlength="15" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100"><p class="dato">Ref&ecirc;rencia:</p></td>
    <td class="formgrisosc"><input type="text" name="ref" size="15" maxlength="10" class="formgrisosc"></td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">NIB Benefici&aacute;rio:</p></td>
    <td class="formgriscla"><input type="text" name="nibBeneficiario" size="30" maxlength="21" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100"><p class="dato">Descri&ccedil;&atilde;o p/ Conta D&eacute;bito:</p></td>
    <td class="formgrisosc"><input type="text" name="debito" size="45" maxlength="45" class="formgrisosc"></td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">Descri&ccedil;&atilde;o p/ Conta Cr&eacute;dito:</p></td>
    <td class="formgriscla"><input type="text" name="credito" size="45" maxlength="45" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="cabecera" colspan="2"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
    </tr>
    </table> <!--Fim do table 3-->
    </center> <!--Fim do 3�center-->
    <center> <!--Inicio do 4� Center-->
    <!--Inicio da table 4�-->
    <table border="0" cellspacing="2" cellpadding="0">
    <tr>
    <td valign="top"><img src="images/limpar.gif" border="0" alt="Apagar"></td>
    <td valign="top"><img src="images/continuar.gif" border="0" alt="Continuar"></td>
    </tr>
    </table> <!--Fim do 4� Table-->
    </form> <!--Fim do FORM-->
    </center> <!--Fim do 4� Center-->
    </body> <!--Fim do BODY-->
    </html> <!--Fim do Html-->
    Thanks pepole!

    thanks people! when i try to validate the action "PTE" he gaves me (if i put a ALERT...) null.
    the js code is : (Moeda is coin )
    //testa amount
    // var ent = (f.amount.value);
    var tamanho = f.amount.value.length;
    var valor = f.amount.value;
    decimals = 2; // Apenas pode ter duas casas decimais?
    if (((tamanho == 0) || (valor == 0)) && ok)
    alert ("A import�ncia tem de ser maior que zero.");
    f.amount.focus();
    f.amount.select();
    ok = false;
    else
         alert(f.Moeda.value);
    if((f.Moeda.value=="PTE") && ok)
    for (j = 0; j < tamanho; j++)
    xx = valor.charAt(j);     
         if ((!(xx.match(numeroER)) && ok))
    alert ("O Campo Import�ncia deve ser num�rico inteiro.");     
         f.amount.focus();
         f.amount.select();
         ok = false;
              //if para limitar valor dos Escudos      
         if (ok)
         if (eval(valor) > 1000000)
         alert ("The field amount must be maxium 1 000 000 Pte.");     
         f.amount.focus();
         f.amount.select();
         ok = false;
    else
         if (ok)
              //function checkDecimals(f.amount, f.importancia.value) {
              if (isNaN(valor)) {
                   alert("O Campo Import�ncia deve ser num�rico e como separador decimal, o ponto.");
                   f.amount.select();
                   f.amount.focus();
                   ok = false;
              else {
                   timeshundred = parseFloat(valor * Math.pow(10, decimals));
                   integervalue = parseInt(parseFloat(valor) * Math.pow(10, decimals));
                   if (timeshundred != integervalue)
                   alert ("Apenas pode ter " + decimals + " casas decimais. Por favor tente outra vez.");
                   f.amount.select();
                   f.amount.focus();
                   ok = false;
              if (ok)
              {  //if to limit the value of the  Euros
         if(eval(valor) > 4988)
    alert ("The field amount must be maxium 4988 Eur.");     
         f.amount.focus();
         f.amount.select();
         ok = false;
    }//end of amount

  • Having problem with change of name in the datagrid Coding

    I am having problem with changing the name of the datagrid header text name for one of the data either in the flash file or the php file.
    The thing is i want to change the Course_Name to Course Name that has no underscore so that it will look nicer in the datagrid but if I change it in the php file like SELECT Course_Name as 'Course Name' ....., it will not turn out in the datagrid when I CTRL ENTER the flash file but the others like Price,description and display is shown.
    There is no problem with my php code but I do not know how to change the Course_Name into Course Name so please help me resolve this error that I am having.
    This is my flash code
      function goCourse(e : MouseEvent):void
      gotoAndStop(5);
      refreshResponder = new Responder (refreshSuccess, onFault);
      connection = new NetConnection ();
      connection.connect (gateway);
      dataDG.addEventListener (Event.CHANGE, gridItemSelected);
      refreshData (true);
      function gridItemSelected (e: Event): void {
      ID = e.target.selectedItem.ID;
      courseTxt.text = e.target.selectedItem.Course_Name;
      priceTxt.text = e.target.selectedItem.Price;
      descTxt.text = e.target.selectedItem.Description;
      private function getParams () {
      var param: Object = new Object ();
      param.ID = ID;
      param.Course_Name = courseTxt.text;
      param.Price = priceTxt.text;
      param.Description = descTxt.text;
      return param;
      private function refreshData (refresh: Boolean): void {
      if (refresh)
      connection.call ("Course.viewCourse", refreshResponder);
      private function refreshSuccess (result: Object): void {
      dataDG.dataProvider = RecordSetDP.toDataProvider (result);
         dataDG.columns = ["Course_Name","Price","Description","Display"];
      private function onFault (fault: Object): void {
      trace (String (fault.description));
    This is my php file code.
      function viewCourse()
      $this->connect();
      $sql = "SELECT Course_Name,Price,Description,Display
      FROM coursetb";
      return mysql_query($sql,$this->_connection);

    i don't see where you're calling your php file in your code, but change 'Course Name' to 'Course_Name' (or vice-versa) there.

Maybe you are looking for