Click here to Skip to main content
15,844,673 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
_Damian S_15-Apr-08 20:59
professional_Damian S_15-Apr-08 20:59 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 22:22
vbDigger'z15-Apr-08 22:22 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
_Damian S_16-Apr-08 19:07
professional_Damian S_16-Apr-08 19:07 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z16-Apr-08 22:56
vbDigger'z16-Apr-08 22:56 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
Mycroft Holmes15-Apr-08 23:07
professionalMycroft Holmes15-Apr-08 23:07 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 23:19
vbDigger'z15-Apr-08 23:19 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
ChandraRam16-Apr-08 0:56
ChandraRam16-Apr-08 0:56 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z16-Apr-08 15:21
vbDigger'z16-Apr-08 15:21 
<br />
crxConnectionProperty = crxTable.ConnectionProperties("Data Source") = crxDataBasePath<br />


Where is crxDataBasePath defined?

Moreover, I think that the right hand side of the assignment will be evaluated to a boolean (crxTable.ConnectionProperties("Data Source") = crxDataBasePath) and this boolean will be assigned to crxConnectionProperty.

************
crxDataBasePath is defined from a vb module from the same vbproject and it is declare to be "public" so my other vbfiles or vbform can access it readily inside the project..

<br />
public crxDataBasePath as string = "D:\folder1\folder2\Database"<br />


i've also try to used this direct code:

<br />
crxConnectionProperty = crxTable.ConnectionProperties("Data Source") = "D:\folder1\folder2\Database"<br />


for me to test it... but still the same error...

CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index"

************************

<br />
<br />
For Each crxTable In crxReport.Database.Tables<br />
crxConnectionProperty = crxTable.ConnectionProperties("Data Source") = crxDataBasePath<br />
crxConnectionProperty = crxTable.ConnectionProperties("Initial Catalog") = "dbEmployee.mdb"<br />
crxConnectionProperty = crxTable.ConnectionProperties("User ID") = "myUserID"<br />
crxConnectionProperty = crxTable.ConnectionProperties("Password") = "myPassword"<br />
Next crxTable<br />
<br />


**************

May be i try also "ChandraRam" suggestion.. thanks for everyone's participation and help..i really appreciation your help.. and please if anybody who can share their good idea there... please help... cause this CR reporting is not that so easy to figure it out specially to a bigenner like me.. thanks again in advance... God speed.. Smile | :)
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
ChandraRam16-Apr-08 20:52
ChandraRam16-Apr-08 20:52 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" [modified] Pin
vbDigger'z16-Apr-08 22:53
vbDigger'z16-Apr-08 22:53 
GeneralI think so i know whats wrong with my vb project... its not on the code but the versioning of active x component [modified] Pin
vbDigger'z17-Apr-08 19:04
vbDigger'z17-Apr-08 19:04 
Questionextract OLE Object from MS-Access Table using vb6 Pin
ERLN15-Apr-08 19:05
ERLN15-Apr-08 19:05 
GeneralRe: extract OLE Object from MS-Access Table using vb6 Pin
Dave Kreskowiak16-Apr-08 4:23
mveDave Kreskowiak16-Apr-08 4:23 
GeneralException has been thrown by the target of an invocation Pin
tom8315-Apr-08 18:56
tom8315-Apr-08 18:56 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Arjun Marwaha15-Apr-08 21:50
Arjun Marwaha15-Apr-08 21:50 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Mycroft Holmes15-Apr-08 23:11
professionalMycroft Holmes15-Apr-08 23:11 
GeneralRe: Exception has been thrown by the target of an invocation Pin
tom8316-Apr-08 4:01
tom8316-Apr-08 4:01 
QuestionSatellite Assemblies... Pin
kaizenIT15-Apr-08 11:15
kaizenIT15-Apr-08 11:15 
GeneralRe: Satellite Assemblies... Pin
Dave Kreskowiak16-Apr-08 4:16
mveDave Kreskowiak16-Apr-08 4:16 
Generaltabs in form Pin
asha_s15-Apr-08 10:23
asha_s15-Apr-08 10:23 
GeneralRe: tabs in form Pin
C1AllenS15-Apr-08 11:39
C1AllenS15-Apr-08 11:39 
GeneralRe: tabs in form Pin
asha_s16-Apr-08 2:27
asha_s16-Apr-08 2:27 
GeneralMultiplying Numbers in Listbox Pin
msapril15-Apr-08 10:05
msapril15-Apr-08 10:05 
GeneralRe: Multiplying Numbers in Listbox Pin
Chinners16-Apr-08 0:59
Chinners16-Apr-08 0:59 
QuestionVB 2005 MaskedTextBox bound to MS-Access table Pin
David Mujica15-Apr-08 9:48
David Mujica15-Apr-08 9:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.