A subscript must be 1 and the size of the array

Hi Experts,
When I'm trying to run the report I'm getting the error, "a subscript must be 1 and the size of the array". Below is the formula.
Split({@newproj},",")[1]
Can anyone help me in identifying what went wrong???
Thanks in Advance,
Samrat Muddasani

Hi Samrat,
Looks like the formula : {@newproj}, is blank.
Try this:
If {@newproj} = "" then
else
Split({@newproj},",")[1]
-Abhilash

Similar Messages

  • Please help with the FOR loop and the array..

    I was trying to place some words in the Movie Clip
    "TextPanel" and set a
    random position to each of them.
    But it's not working.
    1) I created a Movie Clip "word" and inside that MC I created
    a text field
    and gave it an identifier "textFiled".
    2) The linkage name for Movie Clip "word" I set to "word".
    3) In the actionscript I created an Array called "aWords".
    4) Then I created a FOR loop that should
    place (attach) Movie Clips "word0", "word1", "word2" and
    "word3" to the
    movie clip TextPanel, and set the textField text for each of
    them to the
    text from the Array.
    But the script attaches 4 Movie Clips with a name
    "Undefined", instead of 4
    different names (from the Array).
    What is wrong with this script?
    var aWords:Array = [apple,banana,orange,mango];
    for(i=0;i<aWords.length;i++){
    var v = TextPanel.attachMovie("word","word"+i,i);
    v.textFiled.text = aWords
    v._x = randomNumber(0,Stage.width);
    v._y = randomNumber(0,Stage.height);
    Thanks in advance

    But in my Post I already wrote v.textFiled.text = aWords
    so I don't understand what were you correcting..
    And one more:
    I have tested it by changing the
    v.textFiled.text = aWords; to v.textFiled.text = "some
    word";
    and it's working fine.
    So there is something wrong with the Array element, and I
    don't know why..
    "aniebel" <[email protected]> wrote in
    message
    news:ft2d5k$lld$[email protected]..
    > Change:
    > v.textFiled.text = aWords;
    >
    > to:
    > v.textFiled.text = aWords
    >
    > It needs to know which element inside the array you want
    to place in the
    > textfield (or textfiled) :)
    >
    > If that doesn't work, double check that your instance
    name is correct
    > inside
    > of "word".
    >

  • Filename and path sizes and characters

    I am failing to load 4000+ tracks to my Ipod from my XP machine using Itunes 7.50.0.20. This is an Ipod Clickwheel 20GB. I want to load 17.86GB in the now empty Ipod. However it gets so far then stops saying there is not enough space.
    I wonder if am I getting the wrong message?
    Some of my tracks have very long filenames/paths e.g 124 charactere filenames and 213 character paths. I also have some filenames with " (double quote) in.
    Could this be the reason?
    If so what characters must I avoid and what size should the filename and paths be limited to?

    Filenames and paths are irrelevant. They are renamed on the iPod anyway.
    20 GB is not really 20. It is a rounded number all HD manufacturers use. Plus you lose some space due to formatting and the iPod software. There is also meta data for the songs which takes some space.

  • Upgrade OM 2012 to SP1 Beta - Version of SQL Server for the Operational Database and the Data Warehouse

    Hello,
    When I try to verify the prerequisites to upgrade my SCOM 2012 UR2 Platform to SP1 Beta, I have these errors :
    The installed version of SQL Server is not supported for the operational database.
    The installed version of SQL Server is not supported for the data warehouse.
    But when I execute this query Select @@version on my MSSQL Instance, the result is :
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: ) (Hypervisor) 
    But
    here, we can see that :
    Microsoft SQL Server: SQL Server SQL 2008 R2 SP1, SQL Server 2008 R2 SP2, SQL Server 2012, SQL Server 2012 SP1, are supported.
    Do I need to pach my MSSQL Server with a specific cumulative update package ?
    Thanks.

    These are the requirements for your SQL:
    SQL Server 2008 and SQL Server 2012 are available in both Standard and Enterprise editions. Operations Manager will function with both editions.
    Operations Manager does not support hosting its databases or SQL Server Reporting Services on a 32-bit edition of SQL Server.
    Using a different version of SQL Server for different Operations Manager features is not supported. The same version should be used for all features.
    SQL Server collation settings for all databases must be one of the following: SQL_Latin1_General_CP1_CI_AS, French_CI_AS, Cyrillic_General_CI_AS, Chinese_PRC_CI_AS, Japanese_CI_AS, Traditional_Spanish_CI_AS, or Latin1_General_CI_AS.  No other collation
    settings are supported.
    The SQL Server Agent service must be started, and the startup type must be set to automatic.
    Side-by-side installation of System Center Operations Manager 2007 R2 reporting and System Center 2012 Service Pack 1 (SP1), Operations Manager reporting on the same server is not supported.
    The db_owner role for the operational database must be a domain account. If you set the SQL Server Authentication to Mixed mode, and then try to add a local SQL Server login on the operational database, the Data Access service will not be able to start.
    For information about how to resolve the issue, see
    System Center Data Access Service Start Up Failure Due to SQL Configuration Change
    If you plan to use the Network Monitoring features of System Center 2012 – Operations Manager, you should move the tempdb database to a separate disk that has multiple spindles. For more information, see
    tempdb Database.
    http://technet.microsoft.com/en-us/library/jj656654.aspx#BKMK_RBF_OperationsDatabase
    Check the SQL server agent service and see whether it is set to automatic AND started. This got me confused at my first SP1 install as well. This is not done by default...
    It's doing common things uncommonly well that brings succes.

  • What is the maximum size of indexed array that can be created during execution of while loop?

    Hello,
    I am using a ring acquisition to take in images. If i write them as files in the loop, it slows down the acquisition unacceptably. Therefore i am converting image to array and storing the array until the acquisition is complete and then reading the array and converting back to image to save. The program sometimes runs out of memory (after a couple of minutes). Can anyone think of a way where i can store the array/images within the execution (without losing image information), without slowing it down and to avoid this memory problem?
    I have included the VI.
    Thanks in advance for any help or advice.
    kindest regards,
    FraserD
    Attachments:
    LL_Ring_in_IMAQ_8_bit_array_then_write_as_png.vi ‏94 KB

    When you build the array of pictures you do it using auto-indexing out of a while loop. That means that memory is aquired for a copy of the previous picture array and the array is rebuilt on every iteration, this is slow and requires a lot of extra memory.
    If you want to speed things up try initializing a shift register with a 3D array of a size that will be able to hold a certain number of pictures, then replace the "pages" as new pictures are aquired, replace operations do not require copying of the previous array and will thus be much much faster. The difference is exeptional when dealing with large arrays/amounts of data.
    Now, the shift register buffer could be built into a functional global, and you can add a push/pop logic to it so that you can have a p
    arrallell loop that works on writing the elements to disk. You could use a que for this, but I think even though you specify a size limit to the que it still aquires memory as new elements are added (correct me if I'm wrong people...:-)), so a functional global acting as a circular buffer og fixed size frame for a que should be better.
    MTO

  • When I close a link in an email I'm taken out of the email program and safari.  To view t  To view the next email I have to open Safari and the email program each time.

    When I close a link in an email,  I am also taken out of the email program and Safari.  To view the next email I must reopen Safari and the email program each time.

    Empty the Safari cache by pressing Command + Option + E on your keyboard.
    Quit and relaunch Safari.
    See if that made a difference.
    If not, from the Safari menu bar click History > Clear History
    Quit and relaunch Safari to test.

  • Increse the array sise

    Hello;
    I am implementing a stack base on array, and the array size will auto increse by double the array size, if the array size is full, But I got a problem that I do not know how to increse the array size. Could anyone help, please.
    Thanks.
    import java.lang.*;
    import java.util.*;
    class Stack {
        private Object[] elements;
        private int topOfStack;
        // constructor
        public Stack( int size ) {
            elements = new Object[size];
            topOfStack = -1;
        // insert a new element at the top of the stack
        public boolean push( Object x ) {
            if ( isFull() )
                return false;
            elements[++topOfStack] = x;
            return true;
        // delete the most recently inserted element and return it
        public Object pop() {
            if ( isEmpty() )
                return null;
            return elements[topOfStack--];
        // return the most recently inserted element
        public Object top() {
            if ( isEmpty() )
                return null;
            return elements[topOfStack];
        // check if the stack is empty or not
        public boolean isEmpty() {
            return topOfStack == -1;
        // check if the stack is full or not
        public boolean isFull() {
            return topOfStack == elements.length - 1;
    public class StackApp {
        public static Random generator;
        public static void main( String[] args ) {
            Stack  stack = new Stack(1);
            generator=new Random();
            for(int i=0; i<100;i++){
                int r = generator.nextInt(100)+1;
                stack.push( new Integer(r) );
            while( !stack.isEmpty() ) {
                Integer integerObject = (Integer)stack.pop();
                System.out.print( integerObject.intValue() );
                System.out.print( " " );
            System.out.println();
    }

    add a private resize method.
    this method creates a new array double the size of the old one.
    Then you loop over all of the elements in your old array and copy
    them into your new array ( you could use System.arrayCopy
    rather then perform the loop yourself). They you assign your new
    array to elements reference.
    private void resize() {
        Object[] tmp = new Object[elements.length * 2];
        for(int i=0;i<elements.length;i++) {
             tmp[i] = elements;
    elements = tmp;
    matfud

  • Crystal preview - A subscript must be between 1 and the size of the array..

    Hi
    I am getting the following error when I run Print Preview on the CR Sales Invoice:
    "A subscript must be between 1 and the size of the array ........."
    Any ideas?
    Thanks
    Ian

    Thanks Gordon
    However this is a fresh install and the default Crystal SI layout provided by SAP and I would have expected it to work.  It makes it seem like an installation problem.
    Do you know where the *.rpt files as stored by SAP and where I could maybe get a new Crystal SI to test?
    Thanks

  • Hello, I recently uploaded about 250 photos from my phone onto iPhoto. However, when I go to view them, they have already been auto-cropped. It seems I must click "Edit," and then "Crop," and then expand the box to the fullest size. Any suggestions?

    Hello, I recently uploaded about 250 photos from my phone onto iPhoto. However, when I go to view them, they have already been auto-cropped. It seems I must click "Edit," and then "Crop," and then expand the box to the fullest size. I don't have enough time to undo this auto-crop with all 250 photos. Any suggestions?

    @SuperMan
    I noticed this as well when navigating through the photo gallery on my iPhone. 
    If you (and he) are asking about iPhone operation then you are in the wrong place - this is the iPhoto for Mac forum - there are forums for the iPhone, iPad and iPod touch as well as iPhoto for IOS -
    I do not see any cropping in iPhoto on the Mac for either camera or iPhone photos (I use PhotoStream with auto import to get my iPhone photos to iPhoto on my Mac) - and given the way iPhoto works it is really not possible to have auto-cropping - the only thing that I see even close to that is that when you select edit ==> drop the default crop is slightly smaller than the photo - but unless you accept that nothing is changed and the photo is exactly as imported
    LN

  • Aperture is exporting large file size e.g. original image is 18.2MB and the exported version (TFF 16 Bit) is 47.9MB, any ideas please

    Aperture is exporting large file size e.g. original image is 18.2MB and the exported version (TFF 16 Bit) is 47.9MB, any ideas please

    Raws, even if not compressed, Sould be smaller than a 24-bit Tiff, since they have only one bitplane. My T3i shoots 14 bit 18MP raws and has a raw file size of 24.5 MB*. An uncompressed Tiff should have a size of 18 MP x 3 bytes per pixel or 54 MB.
    *There must be some lossless compression going on since 18 MP times 1.75 bytes per pixel is 31.5MB for uncompressed raw.

  • HT204053 I have an iPhone 4S and the new Apple TV, both setup with my email as the Apple ID.  I gave my wife an iPad 3 and set it up using her email address as the Apple ID.  Is a second iTumes Match subscription required for her to use our music from iCl

    I have an iPhone 4S and the latest Apple TV, both setup with my email address as the Apple ID.  I subscribed to iTunes Match so our music could be played from iCloud.  I gave my wife an iPad 3 and set it up using her email address as the Apple ID.  When I try to turn on iMatch so she can play our music from iCloud on her new iPad it tells me that she needs a subscription to iTunes Match.  Is it Apple's intent that we would need two iTunes Match subscriptions?  If not, how do I accomplish what I want to get done?

    The problem is that all services are bundled with your Apple ID ([email protected]):
    Your iCloud account (Mail, Contacts, Calendars, Reminders, Notes, Backups, etc.),
    also iTunes & App Store purchases (Music, Movies, TV Shows, etc.),
    and the iTunes Match services.
    (I guess that all your devices - yours and your wife's are connected to one iTunes library, right?)
    If you want that your wife gets her own iCloud account for Mail, Contacts, Calendars, etc. but gets also access to your media then you have two set up two things on her device:
    iCloud (Settings > iCloud) with her account (e.g. [email protected])
    and
    iTunes & App Stores (Settings > iTunes & App Stores) with your account (e.g. [email protected]).
    In this case she gets access to your library and could use the same iTunes Match account.
    (See also: Using one Apple ID for iCloud and a different Apple ID for Store Purchases http://support.apple.com/kb/HT4895)

  • In my Macbook Pro finder folder under All Images, there are duplicate files, but one is small and the other is full size. I wanted to clean up the files, but don't know why I have two of everything. Any Ideas?

    In my Macbook Pro, the Finder folder has duplicate images in the 'all images' file. One image is small and the other is full size. First question is why do I have two of every image? Why is one small and the other large. Do I need two of everything? If not, which do I delete?
    thanks, Jean

    Hello fane,
    Re: duplicate images in finder.
    Nearly all images are JPG with a few GIF and PNG sprinkled in.
    I opened the inspector so I do get info when opening each image, but it a slow process.
    It seems that one image is around 70k while its twin can be up to 4Mb which is what comes unedited from my camera. Sometimes there will be 3 or 4 identical images in finder, but when I open iPhoto to see what ‘s really in the file, I find only one image, and it’s full sized.
    Are all these extra images, even if they are aliases, taking up space on my drive? And should I delete them? The info bar says I have over 10,000 images, which is rather a lot  for what I do.
    I am unable to add the file size on the view menu as it is grayed out. Don’t know why it’s gray, but having that info on the screen would save a lot of time and fiddling with each image.
    I am trying to resize selected pix so I can upload them to e-bay, which requires less than 70k. I have looked at resizing programs but most are for PC platform and not Mac, so I am trying to resize in the finder window under tools. Tedious at best. Any suggestions will be appreciated
    Thanks for your help,
    jeanfromwilsonville

  • I have iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hi, I have the  iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hello Glittergirl68,
    Thank you for using Apple Support Communities.
    It sounds like the function to reseize the Font in an iBook is not functioning properly.
    I recommend a few things here. First close all the apps that are running in the background:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    From: iOS: Force an app to close
              http://support.apple.com/kb/ht5137
    When you have done that, restart the phone, and try again.
    If the issue persists, I would follow these steps from the article:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    2. Check for app updates
    You can setup apps to update automatically in Settings > iTunes & App Store, but make sure that your apps are up to date:
    Open the App Store and tap Updates. If updates are available, tap Update All.
    If  prompted, enter your iTunes Store account information. App Store will then download and install the app updates.
    Note: Some apps may require a Wi-Fi connection to update.
    3. Install another app from the App Store
    If none of your user-installed apps will launch, there could be an issue with Apple ID authorization. Download and install an app that isn't already installed on your device to reset this information. You can also remove an app from your iOS device and download it again from the App Store or sync the app from your computer.Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    4. Restart the app
    If the issue affects only a single app, try closing just that app.
    5. Restart your device
    Turn the device off and on.
    6. Reinstall the affected app
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    All the very best,
    Sterling

  • I can't open links in firefox. I must drag them to the tool bar or right click and open in a new page

    I am running Vista and installed a new version of firefox yesterday plus I messed around with trying to block some obnoxious advertising pop up windows. Now I can't open links and must drag them to the browser bar or right click and "open in a new window". How do I fix this? I tried to restart Firefox but it didn't help. thanks!

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Try to open a new window and see if that window works.
    You can check for problems with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • HELP! I just rented a movie from itunes and it won't sync onto my ipod touch because it says 'You must be connected to the internet to transfer a rented film' but i am connected, What do i do?

    I just rented a movie today of itunes and it is in my rentals however this is my first time renting a movie and i tried to sync it onto my ipod touch version: 4.2.1, (I am going on holiday tomorrow and need it on my ipod before then). I go onto my syncing page and go to movies and my rentals are there and i can move them across to my ipod but underneath it says - 'You must be connected to the internet to transfer rented films' but the thing is i am connected and when i click apply it tries to sync it but then they go back to where they were. PLEASE HELP - i need it done tonight because i wanted to watch them on the plane tomorrow

    Did you make sure that your security software is not blocking the contact to Apple servers? iTunes for Windows: Troubleshooting security software issues

Maybe you are looking for