I keep getting a Subscript Out of Range: 'Chart Month Index' error when running my data in Diadem 2012. I have Excel 07
Can someone send me an email so I can get some help with this? I cannot post my data here as it is confidential, but I would email it to someone from support for assistance.
Hi,
In order to work directly with a support engineer, I would recommend creating a service request at http://www.ni.com/support/
Regards,
Lindsey W. | Applications Engineer | National Instruments
Similar Messages
-
With ActiveWorkbook.Connections(Connection).OLEDBConnection ' This statement is giving me a script out of range error
' when used inside
the function shown below.
Sub getData(qArray() As String, Connection As String, ActSheet As String)
'Updates the data from the Database. qArray is the SQL query in an array, connection defines which connection to use and ActSheet defines in which sheet to place the data
Sheets(ActSheet).Select
Range("A1").Select
With ActiveWorkbook.Connections(Connection).OLEDBConnection
.CommandText = qArray
.BackgroundQuery = False ' Hvis true opdateres ikke før script er kørt færdig
.CommandType = xlCmdSql
.Connection = "OLEDB;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=RDWEB;Data Source=dk0149sql.niladv.org;"
.RefreshOnFileOpen = False
.SavePassword = False
.SourceConnectionFile = ""
.SourceDataFile = ""
.ServerCredentialsMethod = xlCredentialsMethodIntegrated
.AlwaysUseConnectionFile = False
End With
ActiveWorkbook.Connections(Connection).Refresh
End Sub
I am getting a subscript out of range when I use the above statement inside the getData function shown below.
The data is getting into the qArray as seen the Locals Window after it errors
How do I eliminate this error?It seems that Connection has some bad value. Have you investigated what that may be?
The code looks puzzling to me - it never seems to be running the query. Then again, this is a forum for SQL Server, and not for programming Excel. And it's probably in a forum of the latter type should have posted your question.
Erland Sommarskog, SQL Server MVP, [email protected] -
BIP Desktop Install Problem: Run-time error '9' Subscript out of range
Hi All,
I am trying to get my BIP Desktop to work. I have notice previous threads regarding the internet explorer security patches affecting BIP Desktop and my problem is similar. Here is my problem:
1. I installed BIP Desktop 5.7.146.
2. I start Template Builder for Word Language by selecting Start>Programs>Oracle BI Publisher Desktop.
3. A dialog box prompts for UI Language and I select English
In the midst of the Template Builder for Word Language attempting to initiate/change the user interface language to English, it throws the following error:
Run-time error '9' Subscript out of range
Here are some details regarding my PC:
XP sp2, MSXML6, jre1.5.0_15
Also, my CPU performance hits it maximum while I am doing this
Any thoughts on how to correct this?
Thanks,
PatrickPatrick,
Were you able to find a solution to this problem?
One of my colleagues is having the same issue.
Regards,
Srini -
Failed to Finish Transition(Subscript out of Range)
We are receiving this error message during playback intermittently: Failed to Finish Transition(Subscript out of Range).
Does anyone what causes this and how to resolve it?Can you give more details about what the script is doing when you get this error? Looks like an application generated message, the script is not inputting correct parameter values required on that page, maybe.
Message was edited by: mpalivela -
Validating members:Subscript out of range
Hi there.
I have a logic that runs the validations but when i run it it says:
"ExecuteBaseLogic::
1 errors writing data
Validating members:Subscript out of range"
I looked at the logs and it is not really helpfull
Could someone guide me where to look for the problem please?
Thanks
NicHere is the logic i was talking about:
*Include System_Constants.lgl
//Send intercompany totals to Finance
*Xdim_memberset RptCurrency=LC
*Destination_App=Finance
*Skip_dim= Intco
*Rename_Dim ICAccount=Account
*Add_Dim AcctDetail=No_F
//*Add_Dim DataSrc=input
*When TIME
*IS %TIME_SET%
*WHEN ICaccount.ACCTYPE
*IS "LEQ"
*REC(Factor=-1)
*ENDWHEN
*WHEN ICaccount.ACCTYPE
*IS "AST"
*REC(Factor=1)
*ENDWHEN
*ENDWHEN
*Commit
As you see it it pretty simple, but i am missing smtg.
When I de-comment the "DataSrc=input" line, then i dont get any errors: neither at the validation nor when i send data.
But the totals are not sent. Just the last updated amount in my interco is sent to finance...
Nic -
Error merging WHAT with WHERE:Subscript out of range
I'm trying to run allocation script to post data from one App to another but get the error:
error merging WHAT with WHERE:Subscript out of range.
*RUNALLOCATION
*FACTOR 1
*DIM APP WHAT=PNL; WHERE=OPEX;
*DIM CATEGORY WHAT=BUDGET; WHERE=<<<;
*DIM ACCOUNT WHAT=80855.0000.ECOMM;
*DIM ACCT_OPEX WHERE=80855.0000;
*DIM ENTITY WHAT=100.00001;
*DIM COSTCTR WHERE=00001;
*DIM BRAND WHERE=100;
*DIM CHANNEL WHERE=ECOM;
*ENDALLOCATIONHi Agnes,
Please try the below:
*RUNALLOCATION
*FACTOR 1
*DIM APP WHAT=PNL; WHERE=OPEX;
*DIM CATEGORY WHAT=BUDGET; WHERE=<<<;
*DIM ACCOUNT WHAT=80855.0000.ECOMM; WHERE=<<<;
*DIM ACCT_OPEX WHAT=>>>; WHERE=80855.0000;
*DIM ENTITY WHAT=100.00001; WHERE=<<<;
*DIM COSTCTR WHAT=>>>; WHERE=00001;
*DIM BRAND WHAT=>>>; WHERE=100;
*DIM CHANNEL WHAT=>>>; WHERE=ECOM;
*ENDALLOCATION
The idea is to have have both the keywords in the statement - WHAT and WHERE
Hope this helps. -
Run-time error '9': subscript out of range when starting Multisim/Utilboard v10
Hi all!
After having installed and registred NI Circuit Design Suite 10 (Single user licenses) on
XP-SP2 and Windows2000-SP4 computer, I get the following error message when
I try to start either Multisim10 or Utilboard10 (Full edition versions)
"Run-time error '9':
Subscript out of range
The problem appears both with standard users as well as with the Administrator user.
As I click on "OK", the program proceeds as usual and seems (?) to work fine.
The problem does not appear if I do not register the copy of NI Circuit Design Suite 10
and I run it as evaluation instead.
Paolo Celani
Attachments:
error.jpg 29 KBHi !
We have german version of Window XP and 2000 (the folder where Multisim was installed is C:\Programme\ etc etc).
The very same dialog box appears written in german (see attachment) in one of our computers, maybe because
German was chosen as Standard language in Multisim during settings (I do not quite remember but I can find out).
Thanks for helping me !
Best regards
Paolo Celani
Attachments:
error_de.JPG 33 KB -
Run-time error 9 subscript out of range in WAD open
Hi All,
When i open the WAD, I am getting the following error msg
Run-time error 9
Subscript out of range
and it is killing the logon and screen.
It is not happening to all the WAD, only for few of them,
please give me the tips.
Thanks
BillyThanks for the answer.
I resolved it by replacing librfc.dll. There is a sap note to explain this issue.
the reason for the problem is..
If the web template has a bigger one then this problem is occurs.
Thanks
Billy -
Error in RunLogicAgainstSelection:Subscript out of range
Dear experts,
I'm writing a cross application *RUNALLOCATION from application InvCost.
While validating the logic I ot this error saying
"error in RunLogicAgainstSelection: Subscript out of range" and here's the code
*RUNALLOCATION
*FACTOR=1/TOTAL
*APP WHAT=FINANCE; WHERE=INVCOST; TOTAL=<<<
*DIM TIME WHAT=%TIME_SET%; WHERE=<<<; TOTAL=<<<
*DIM DATASRC WHAT=TEMP; WHERE=INPUT; TOTAL=INPUT
*DIM LOB WHAT=00000; WHERE=; TOTAL=
*DIM COSTCENTER WHAT=122; WHERE=; TOTAL=
*DIM MACCT WHAT=5601; WHERE=; TOTAL=
*DIM FACTORY WHAT=0000F; WHERE=[L_f]="7"; TOTAL=EACH([L_f]="7")
*DIM INTFAC WHAT=; WHERE=NONINTFAC; TOTAL=EACH(BASE(ALLINTFAC))
*DIM INVACCT WHAT=; WHERE=FUC_L; TOTAL=FFACTOR
*DIM PARNO WHAT=; WHERE=NONPARTNO; TOTAL=EACH([INVTYPE]="L")
*DIM SACCT WHAT=00; WHERE=; TOTAL=
*DIM CATEGORY WHAT=ACTUAL; WHERE=<<<; TOTAL=<<<
*DIM RPTCURRENCY WHAT=LC; WHERE=<<<; TOTAL=<<<
*ENDALLOCATION
From WHAT there's only one value and devid by TOTAL then put into all base members of WHERE.
Factory part is a little tricky cause I'm not sure if it'll give me only base members for the given condition.
Any helpful comments are welcome. Thanks a million...
,Jim HsuHi Jim,
I think you need to use the "USING" clause, as in this simple example. This is where you define the allocation driver.
*RUN_ALLOCATION
*FACTOR USING/TOTAL
*DIM Product What=NoProduct; Where=[ProductLevel]="5"; USING=<<<; TOTAL=<<<
*DIM Account What=MarketingExpense; Where=<<<; Using=Revenue; Total=<<<
*ENDALLOCATION -
Submit:Validating members::Subscript Out of Range Error
Hi,
When I enter data in an Input Schedule and click "Send and Refresh Schedule" button, I receive an error message.
Submitted Records : 4
Accepted Records : 0
Rejected Records : 0
Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range
"Then the list of records not sent."
No records are sent to the database.
Why does this error occur?Hi Karthik, Just wondering if there are too many digits(i mean too many decimals in the numbers) in the sheet.
regards
shyam -
I read a file into a 2 dimensional vector named matrix and I want to check the frequency of the item inside the matrix, but when debugging it gives me the error message: vector subscript out of range. Can someone help?
#include <assert.h>
#include <string>
#include <map>
#include <sstream>
#include <vector>
#include <fstream>
#include <iostream>
#include "main_loadDB.h"
using namespace std;
typedef map<string, int> attri_value;
void buildFirstItemset(matrix_file m){
matrix_file temp=m;
int lmc=temp[0].size();
int lmr=temp.size();
int msize=lmc*lmr;
attri_value attri_map;
for (int i=0;i<lmr;i++){
cout<<"i:"<<i<<" ";
for(int j=0;j<lmc;j++){
string tm=temp[i][j];
++attri_map[tm];
// here is the error
cout<<endl;
#endif
Any help appreciated!Hi DBM_Q,
Since this issue is related to the VC++, to help you resolve this issue as soon as possible, I suggest you post this issue to the VC++ Forum for dedicated support:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=vcgeneral
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
hi
thisis the script i am using to allocate gross invoice percentage for month and total them
to show in another row
*SELECT (%ENTITY%, "[ID]", "ENTITY", "[ID]='%ENTITY_SET%'")
*XDIM_MEMBERSET CATEGORY=ACT
*XDIM_MEMBERSET RPTCURRENCY1=LC
*XDIM_MEMBERSET DATASRC=TOTAL
//*XDIM_MEMBERSET TIME=2010.INP
*RUNALLOCATION
*NAME=GISALESALLOCPLN%
*FACTOR=USING/TOTAL
*DIM APP WHAT=PLANNING;WHERE=PLANNING;USING=PLANNING;TOTAL=PLANNING
*DIM ACCOUNTP WHAT=%GISALES%;WHERE=%GISALES%;USING=%GISALES%;TOTAL=%GISALES%
*DIM ENTITY WHAT=%ENTITY%;WHERE=%ENTITY%;USING=%ENTITY%;TOTAL=%ENTITY%
*DIM TIME WHAT=2010.INP;WHERE=2010.INP;USING=2010.INP;TOTAL=2010.INP
*DIM CATEGORY WHAT=ACT;WHERE=ACT;USING=ACT;TOTAL=ACT
*DIM RPTCURRENCY1 WHAT=LC;WHERE=LC;USING=LC;TOTAL=LC
*ENDALLOCATION
and it error outs saying
"error in range selection: subscription out of range"
while i debug
please advice
thanksIf you are selecting multiple entities, please use
*SELECT (%ENTITY%, "ID", "ENTITY", "ID in ('%ENTITY_SET%')")
instead of the first line of the script.
If you want to specify the application, please use
*APP WHAT=PLANNING;WHERE=PLANNING;USING=PLANNING;TOTAL=PLANNING
The syntax you have used wont work.
*APP is an optional parameter. Please use it only if its necessary.
Karthik -
BAT Import "Subscript out of range"
I'm attempting to import phones and users with the BAT version 5.0(2) and CCM 4.0. The file is validated fine, but when I do the insert, the browser returns the error dialog:
Error Number: -2146828279
Description: Subscript out of range
The users then appear to be imported, but not the devices. Looking up the error on google indicates that it's a VBA scripting problem. I tried firefox, but it doesn't seem to work at all.
Thanks for any suggestions,
MarkThe core issue for me was that ANY data the Callmanager didn't like would result in that error - two problems I had were not putting leading zeros on the number of lines (it requires 2 digits), and trying to use commas in the description (even enclosed in quotes which the documentation says will work, it doesn't). I did have to load the new device pack for 7911 support when I did this install, but I only had 4 7911's so I did them manually, and no 7912's.
Good Luck,
Mark -
I am trying to download & install updates &keep getting a timed out message
I am trying to download & install updates on my ipod touch but keep getting a timed out message
- Try disabling your computer's security software. or
- Do a direct download and install. Where to download afrom and how to install is provided here:
iPod, iPhone and iPad Firmware Download -
Of course, after he'd tried to reset it, I found the original password. But that now doesn't work and we can't reset the password. We can't even "find" the ID. We keep getting a timed out message, no matter what we try. Since he has no working Apple ID, I'm using mine to ask this question. Possibly relevant - he is NOT a big app user. I set up the account for him when he first got his iPhone a couple of years ago and he has only a few apps installed. So the card details may have expired but, of course, he can't update them either. He recently updated to the latest IOS (6.1.3) and it was when finishing the installation that he ran into the problems with forgetting his password.
Short of creating a new ID, does anyone have any bright ideas?Call Apple Care for your country and request help resetting the password.
Maybe you are looking for
-
When I connect my iPad to my iMac I get a repetitive flashing error message "iTunes could not connect to this iPhone. This device is no longer connected." iPhoto eventually launches but iTunes will not launch iTunes. iPad will not charge. Restarted
-
[SOLVED] Windows Update not working after Cloning Hard Disk!
Lenovo T61p with Intel Turbo Memory - Cloning HDD with Advanced Format (4K Cluster) HDD I have been beating my head against my desk for the past day trying to figure out the problems I am having. I have a Genuine Windows 7 Ultimate Installation I clo
-
Mac Mini Not Detecting Ethernet NIC
I have a weird one which I hope you can help me with. I have a Mac Mini SL server which operates as a DCHP and netboot server. Yesterday it stopped detecting its ethernet card which was resolved by a reinstall but when I started it today the problem
-
IDOC structure for shipment document
Dear All, I need to know the IDOC structure to use for shipment document which will be updated with the actual shipment start end end times.(for carrier stop confirmation update interface.) Please let me knnow. Thanks in Advance. KCR
-
Mapping from smallint to boolean
How should I map -1 to boolean? 0 ==> false 1==> true -1 ==> ? Thanks, Alex