Copy result container - why do I get a property types do not match error?

I am creating a Teststand sequence that parses through the ResultsList and creates my own format of text reporting file. (I need to do this because our database needs the data in a very specific text format).  I am trying to copy a Result from a subsequence back up into the first level of the ResultList. (see attached screen shot for the details).  I use the following statement:
Locals.TestResultListLocalCopy[3] = Locals.TestResultListLocalCopy[1].TS.SequenceCall.ResultList[0]
When I execute the sequence I get the following error for the above line:
-17321; Variable or property types do not match or are not compatible.
As you can see from the screen shot that I took at run-time, both of the array elements are of type Result, so why do I get the type error?
Thanks for any help - LAW
Attachments:
TSResultScreenShot.gif ‏119 KB

Hi LAW
I have rewritten your programm. I used the Methods Clone and SetPropertyObject from PropertyObject Class.
Test it.
I hope it was you are looking for
Greetings
Juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
Attachments:
ResultTypeCopyError_Version2.seq ‏7 KB

Similar Messages

  • HT3702 how do i set up my debit/credit card without running into any errors on the set up page. all my information is correct but i keep getting a account information does not match error or invalid security code error

    How do i set up my debit account information? so i can make purchases on the appstore.  I keep running into errors and all my information is correct.  I have read a bunch of forums saying that this is a giant problem and that i need tech support ot set up my charging information.

    Hi...
    Try here >  iTunes Store: My credit card's security code or zip code does not match my bank's records
    Billing policy is the same for both the Mac App and iTunes Stores.

  • Why am I getting the message "project could not be prepared because an error occurred. (File already open with write permission)" when trying to share my imovie to media browser?

    Why am I getting the message "Project could not be prepared because an error occurred. (File already open with write permission.) when trying to
    share to the media browser?   I have done this many times before and never got this message.  This is very frustrating.  Can anyone help me?

    Hi
    Error -49 opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    Easiest way to find out if this is the problem is by:
    • Create a new User-Account
    • Log out of Your old one and into this
    • Re-try iMovie
    If it now works OK - then 99.9% the problem is iMovie pref. file that needs to be trashed.
    from Karsten Schlüter
    Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
    This issue occurs only on MacOs machines using 10.7x
    try switching-off the Local Mobile Backup
    in Terminal copy/paste
    sudo tmutil disablelocal
    Re-launch Mac
    Yours Bengt W

  • HT1338 why do I get this message: We could not complete your purchase. OS X Mountain Lion is not compatible with this computer.

    Whwn Purchasing Mountain Lion, why do I get this message: We could not complete your purchase. OS X Mountain Lion is not compatible with this computer. Currently I have Mac OS 10.7.4

    because you mac does not meet the technical requirements to run Mountain Lion.

  • HT4910 Why do I get "The last backup could not be completed"  Last backup: 5/4/12 at 11:16 am?

    Why do I get "The last backup could not be completed"  Last backup: 5/4/12 at 11:16 am every time I try to back up my iphone 4s?  I also get a message that my iphone hasn't been backuped in 32 weeks?

    Welcome to the Apple Community.
    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.

  • HT5622 Why do I get this massage undated is not available with this Apple ID

    Why do I get this massage update is not available with this Apple ID.

    There are dozens of posts with this same issue. Search before posting.
    It's an Apple issue;
    http://www.macrumors.com/2014/05/08/apple-id-ios-app-updates/

  • Why do I get the message You are not allowed to create or update this content

    Why do I get the message You are not allowed to create or update this content/

    Well, maybe we also need a "smart" answer. You've provided zero information from which you expect us to provide an answer? Maybe had too much weed today, Bob?

  • When i run a sequence with ivi step types in simulation mode i get the error code number BFFA0015 - Types do not match.

    When i run the sequence with ivi step types in simulation mode i get the error Types do not mathc. The step that generates this error is an IviScope step type and is configured as a measurement. Th weird thing is that in real mode is working perfectly. I have three measure steps and i get the error in all of them. The exact error message is:
    UUT Result: Error, Error executing substep 'Post'. An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types 1.0 Type Library' An error occurred while executing the step. Component Works IVI Control Error: The IVI Read operation failed on channel '1' for logical name 'SampleScope'. Details: (1
    ) Types do not match. [IVI Error Code: BFFA0015] Source: TSIviStepTypes [Error Code: -30721, User-defined error code.]
    Can someone tell me how to fix this problem?. It seems to me that the simulation generates a diferent type of measurement of that generated in real mode.

    Update:
    The simulation driver appears to be raising the error. By switching to specific driver simulation the error does not occur. This may be a problem in either the class simulation driver or the specific driver.
    Scott Richardson
    National Instruments

  • Exchange 2010 Receive Connector gets 530 5.7.1 Not Authenticated Error

    Hi All, I am using Exchange2010 SP2 with HT,CAS and Mail roles ( this is my test machine). I created a receive connector for Mutual TLS in which i have added remote servers with which i want to do mutual (Domain Secure Emails Transfer) and enabled TLS &
    Mutual TLS in authentication tab only and partners in permission tab only. When I test these settings with my partners who are on exchange server or iron mail they are working fine. My problem occurs when i receive mails from MDaemon Pro 13.5 and the problem
    is i get 530 5.7.1 Not Authenticated  error. Can anyone help me why i am getting this.

    I am attaching more details for the said problem. Below is send log from mdaemon side and receive log from exchange 2010 (my side).
    Sender Log: (MDaemon side)
    --- Session Transcript ---
     Mon 2014-02-03 17:31:18: Parsing message <xxxxxxxxxxxxxxxxxxxxxxxx\pd35000084484.msg>
     Mon 2014-02-03 17:31:18: *  From: [email protected]
     Mon 2014-02-03 17:31:18: *  To: [email protected]
     Mon 2014-02-03 17:31:18: *  Subject: Mutual TLS 03022014
     Mon 2014-02-03 17:31:18: *  Size (bytes): 1551
     Mon 2014-02-03 17:31:18: *  Message-ID: <[email protected]>
     Mon 2014-02-03 17:31:18: Attempting SMTP connection to [receive.com]
     Mon 2014-02-03 17:31:18: Resolving MX records for [receive.com] (DNS Server: 141.1.1.1)...
     Mon 2014-02-03 17:31:18: *  P=010 S=000 D=receive.com TTL=(240) MX=[win2k8.receive.com]
     Mon 2014-02-03 17:31:18: Attempting SMTP connection to [win2k8.receive.com:25]
     Mon 2014-02-03 17:31:18: Resolving A record for [win2k8.receive.com] (DNS Server: 141.1.1.1)...
     Mon 2014-02-03 17:31:28: *  DNS: 10 second wait for DNS response exceeded (DNS Server: 141.1.1.1)
     Mon 2014-02-03 17:31:28: Attempting SMTP connection to [win2k8.receive.com:25]
     Mon 2014-02-03 17:31:28: Resolving A record for [win2k8.receive.com] (DNS Server: 8.8.8.8)...
     Mon 2014-02-03 17:31:28: *  D=win2k8.receive.com TTL=(239) A=[receiver_ip]
     Mon 2014-02-03 17:31:28: Attempting SMTP connection to [receiver_ip:25]
     Mon 2014-02-03 17:31:28: Waiting for socket connection...
     Mon 2014-02-03 17:31:28: *  Connection established (sender_ip:60054 -> receiver_ip:25)
     Mon 2014-02-03 17:31:28: Waiting for protocol to start...
     Mon 2014-02-03 17:31:33: <-- 220 win2k8.receive.com Microsoft ESMTP MAIL Service ready at Mon, 3 Feb 2014 17:31:41 +0500
     Mon 2014-02-03 17:31:33: --> EHLO mail.sender.com
     Mon 2014-02-03 17:31:33: <-- 250-receive.com Hello [sender_ip]
     Mon 2014-02-03 17:31:33: <-- 250-SIZE
     Mon 2014-02-03 17:31:33: <-- 250-PIPELINING
     Mon 2014-02-03 17:31:33: <-- 250-DSN
     Mon 2014-02-03 17:31:33: <-- 250-ENHANCEDSTATUSCODES
     Mon 2014-02-03 17:31:33: <-- 250-STARTTLS
     Mon 2014-02-03 17:31:33: <-- 250-AUTH NTLM
     Mon 2014-02-03 17:31:33: <-- 250-8BITMIME
     Mon 2014-02-03 17:31:33: <-- 250-BINARYMIME
     Mon 2014-02-03 17:31:33: <-- 250 CHUNKING
     Mon 2014-02-03 17:31:33: --> STARTTLS
     Mon 2014-02-03 17:31:33: <-- 220 2.0.0 SMTP server ready
     Mon 2014-02-03 17:31:33: SSL negotiation successful (TLS 1.0, 2048 bit key exchange, 128 bit  encryption)
     Mon 2014-02-03 17:31:33: --> EHLO mail.sender.com
     Mon 2014-02-03 17:31:33: <-- 250-receive.com Hello [sender_ip]
     Mon 2014-02-03 17:31:33: <-- 250-SIZE
     Mon 2014-02-03 17:31:33: <-- 250-PIPELINING
     Mon 2014-02-03 17:31:33: <-- 250-DSN
     Mon 2014-02-03 17:31:33: <-- 250-ENHANCEDSTATUSCODES
     Mon 2014-02-03 17:31:33: <-- 250-AUTH NTLM
     Mon 2014-02-03 17:31:33: <-- 250-8BITMIME
     Mon 2014-02-03 17:31:33: <-- 250-BINARYMIME
     Mon 2014-02-03 17:31:33: <-- 250 CHUNKING
     Mon 2014-02-03 17:31:33: --> MAIL From:<[email protected]> SIZE=1551
     Mon 2014-02-03 17:32:03: <-- 530 5.7.1 Not authenticated
     Mon 2014-02-03 17:32:03: --> QUIT
    --- End Transcript ---
    Receive Log: (Exchange 2010 side)
    2014-02-03T13:31:12.609Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,0,receiver_ip:25,sender_ip:60294,+,,
    2014-02-03T13:31:12.609Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,1,receiver_ip:25,sender_ip:60294,*,SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions
    2014-02-03T13:31:12.609Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,2,receiver_ip:25,sender_ip:60294,>,"220 win2k8.receive.com Microsoft ESMTP MAIL Service ready at Mon, 3 Feb 2014 18:31:11 +0500",
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,3,receiver_ip:25,sender_ip:60294,<,EHLO mail.sender.com,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,4,receiver_ip:25,sender_ip:60294,>,250-win2k8.receive.com Hello [sender_ip],
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,5,receiver_ip:25,sender_ip:60294,>,250-SIZE,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,6,receiver_ip:25,sender_ip:60294,>,250-PIPELINING,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,7,receiver_ip:25,sender_ip:60294,>,250-DSN,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,8,receiver_ip:25,sender_ip:60294,>,250-ENHANCEDSTATUSCODES,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,9,receiver_ip:25,sender_ip:60294,>,250-STARTTLS,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,10,receiver_ip:25,sender_ip:60294,>,250-AUTH NTLM,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,11,receiver_ip:25,sender_ip:60294,>,250-8BITMIME,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,12,receiver_ip:25,sender_ip:60294,>,250-BINARYMIME,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,13,receiver_ip:25,sender_ip:60294,>,250 CHUNKING,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,14,receiver_ip:25,sender_ip:60294,<,STARTTLS,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,15,receiver_ip:25,sender_ip:60294,>,220 2.0.0 SMTP server ready,
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,16,receiver_ip:25,sender_ip:60294,*,,Sending certificate
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,17,receiver_ip:25,sender_ip:60294,*,"CN=win2k8.receive.com, OU=Domain Control Validated - QuickSSL(R) Premium, Certificate subject
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,18,receiver_ip:25,sender_ip:60294,*,"CN=SSL CA, OU=SSL, O=3rd Party, C=LL",Certificate issuer name
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,19,receiver_ip:25,sender_ip:60294,*,0763ED,Certificate serial number
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,20,receiver_ip:25,sender_ip:60294,*,1234567890,Certificate thumbprint
    2014-02-03T13:31:12.625Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,21,receiver_ip:25,sender_ip:60294,*,win2k8.receive.com;win2k8.receive.com;autodiscover.receive.com,Certificate alternate names
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,22,receiver_ip:25,sender_ip:60294,<,EHLO mail.sender.com,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,23,receiver_ip:25,sender_ip:60294,*,,TlsDomainCapabilities='None'; Status='NoRemoteCertificate'
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,24,receiver_ip:25,sender_ip:60294,>,250-win2k8.receive.com Hello [sender_ip],
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,25,receiver_ip:25,sender_ip:60294,>,250-SIZE,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,26,receiver_ip:25,sender_ip:60294,>,250-PIPELINING,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,27,receiver_ip:25,sender_ip:60294,>,250-DSN,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,28,receiver_ip:25,sender_ip:60294,>,250-ENHANCEDSTATUSCODES,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,29,receiver_ip:25,sender_ip:60294,>,250-AUTH NTLM,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,30,receiver_ip:25,sender_ip:60294,>,250-8BITMIME,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,31,receiver_ip:25,sender_ip:60294,>,250-BINARYMIME,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,32,receiver_ip:25,sender_ip:60294,>,250 CHUNKING,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,33,receiver_ip:25,sender_ip:60294,<,MAIL From:<[email protected]> SIZE=17914,
    2014-02-03T13:31:13.234Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,34,receiver_ip:25,sender_ip:60294,*,Tarpit for '0.00:00:30',
    2014-02-03T13:31:43.250Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,35,receiver_ip:25,sender_ip:60294,>,530 5.7.1 Not authenticated,
    2014-02-03T13:31:43.250Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,36,receiver_ip:25,sender_ip:60294,<,QUIT,
    2014-02-03T13:31:43.250Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,37,receiver_ip:25,sender_ip:60294,>,221 2.0.0 Service closing transmission channel,
    2014-02-03T13:31:43.250Z,WIN2K8\Default WIN2K8,08D0EEF2D8DBF9DD,38,receiver_ip:25,sender_ip:60294,-,,Local
    I hope this shall help you understand some thing. Do remember that i am using mutual (force) TLS with this client
    whose domain is already in my send/receive secure list of TransportConfig.

  • I know my Apple Id (not .mac) and password but I can't logon to ichat.  I keep getting a message of password not matched.  Do I need to create a new account for Ichat?

    I know my Apple Id (it isn't ".mac") and password but I can't log on to ichat.  I keep getting a message of password not matched.  I saw somewhere that my Apple id is the same as my ichat account.  Do I need to create a new account for Ichat?  I've already reset my Apple id password 3 times in the last 2 days.  What am I doing wrong?

    Hi,
    At one time only Email IDs from Apple (when it was just @Mac.com) were referred to as "Apple IDs"
    Other IDs such as to log in to Discussions were know as Discussion IDs
    Things like the Online Store and iTunes and Apple realising that people would prefer one ID to have access to Everything tended to move things together.
    There can be a variety of combos now
    iChat Name
    @mac.com before MobileMe
    @mac.com post MobileMe
    AIM Names
    AIM names current
    MobileMe (@Me.com)
    Style
    Email Address valid with the .Mac service prior MobileMe Note 1
    Email style Name Valid with AIM
    May or may not be an Email address
    Can be AIM issued or third party Email address
    Valid Email with MobileMe Service
    Other Abilities
    May also be Currently valid email linked to a MobileMe account
    Maybe Valid Apple ID
    Is a Valid AIM Screen Name
    May Not be a Valid Apple ID (was an option choice at one stage)
    Is a Valid AIM Screen Name
    May not look like an Email (No @whatever.com) but may be linked to either an AOL email account or AIM one
    Current Registration seems to be pushing Email registration (@AIM.com)or asking to use another you currently use.
    Trial Accounts are limited to the Trial Period Only as Emails, Valid AIM Screen Names and Apple IDs.
    Apple ID
    Possibly (likely)
    Possibly (depends when Registered)
    More currently Yes.
    No
    No
    Yes
    Glad I could help.
    8:39 PM      Thursday; September 15, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Getting error when view - Requested data type does not match with existing

    I have the siebel web service
    In the BI publisher as mentioned in the 'Siebel_BI_Publisher_Integration_Concepts.pdf', I have imported the siebel web service
    BI can recognize the 'Web service' and methods.
    I have created the paramters. The data type is 'String'
    When I try to view the report using the BI publisher, I am getting teh following error in th UI
    "Requested data type does not match with existing data type"
    This is the first time I am using BI publisher to call the Siebel web service. I don't know what this error means
    I don't know whether any log file generated wit the details of this erro message
    Any help is much appriciated
    Thanks,
    Kavitha

    Hi all,
    have you find a fix for this issue? Im facing the same situation, using Complex type, and String data type both in the service and Bi publisher. We are consuming CC&B services, and we have noticed this error appears when BIPublisher is running on WebLogic (10.3) but it does not appear when BIPublisher is running on OC4J , of course running the same report on both application servers.
    Any idea?
    Thanks a lot, regards
    Nestor

  • I'm getting a message "404 (page not found error)" I think I entered an incorrect URL into my browser's address bar. How do I fix that?

    I was trying to post a comment on a support group site. I was asked what web address I was using, or something along those lines. In hindsight, I stupidly typed a '?' and pressed send. Now, when I try to access that site I get the message "404 (page not found error)
    If you're the site owner, one of two things happened:
    1. 1) You entered an incorrect URL into your browser's address bar, or
    2. 2) You haven't uploaded content."
    How can I fix this.

    I spoke with a Dell technician about this problem. He tried to access the site in question from his computer, i.e. separate from my computer, and he also got the same "404 (page not found error)". He said the problem lies with the site itself, not my computer, and that I should notify the site. Problem is I can't notify the site if I can't access it.

  • I keep getting this notification when I log in to firefox, "Invalid username/password combination. If you continue to get ... - did not match any documents.

    Question
    I keep getting this notification when I log in to firefox, "Invalid username/password combination. If you continue to get ... - did not match any documents. I just downloaded the latest version of Firefox and now every time i open it I get the above message having to do with my email. The old firefox didn't do this. There is nothing wrong with my yahoo email or password.

    I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
    Hope this helps some of you also!

  • Why i keep getting the message application could not be downloaded at this time on  ipad2

    Why I keep getting message application could not be downloaded at this time, for applications purchased for the app store. I have tried resetting my ipad and that did not work, so now I have all this apps that I have purchased but will not download.

    Hello tay19
    Check out the articles below to troubleshoot updating your iPad. You may be having an issue with a firewall or other security software preventing iTunes from communicating with the update server.
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Why do I get a "DATE1 : ORA-00904 Invalid identifier" error ?

    Hi,
    Despite my efforts, I can't see why I get a "DATE1 : ORA-00904 Invalid identifier' error whith this request.
    {code}With S1 as (
    SELECT TRUNC(DATE1, 'MM'),
    ROUND(SUM(VALEUR), 2)
    FROM EVV_E036
    GROUP BY TRUNC(DATE1, 'MM')
    ORDER BY TRUNC(DATE1, 'MM'))
    SELECT n,
    NVL(ROUND(SUM(Valeur),2), 0)
    FROM (select add_months(to_date('01/01/2006', 'dd/mm/yyyy'), level - 1) n FROM dual connect by level <= 12) months
    LEFT JOIN S1
    ON months.n = TRUNC(DATE1, 'MM')
    GROUP BY n
    ORDER BY n{code}
    The line in error is this one : {code}ON months.n = TRUNC(DATE1, 'MM'){code}
    Any idea much appreciated !
    Regards,
    Christian

    hi,
    I have done this and get no more errors. Now I see that the values I get are equal to 0. Or, I do get values different from 0 in my table ! I can't see why the left join gives 0. I have to dig this and come back tomorrow.
    With S1 as (
    SELECT TRUNC(DATE1, 'MM') Date1,
           ROUND(SUM(VALEUR), 2) Debit
    FROM   EVV_E036
    WHERE  CLEF_VAR = (SELECT CLEF_VAR FROM SITE_ECHELLE WHERE SITE = 'E036')
    AND    DATE1 BETWEEN TO_DATE ('01/01/2007000000', 'DD/MM/YYYYHH24MISS') AND TO_DATE ('31/12/2007235959', 'DD/MM/YYYYHH24MISS')
    GROUP  BY TRUNC(DATE1, 'MM')
    ORDER  BY TRUNC(DATE1, 'MM'))
    SELECT n,
           NVL(ROUND(SUM(Debit),2), 0)
    FROM   (select add_months(to_date('01/01/2006', 'dd/mm/yyyy'), level - 1) n FROM dual connect by level <= 12) months
    LEFT JOIN S1
         ON months.n = date1
    GROUP BY n
    ORDER BY n

Maybe you are looking for