|
-
Sep 20th, 2002, 09:45 AM
#1
Thread Starter
Frenzied Member
NT to XP
I changed my OS from NT to XP now my app gives me an error...
"Object Collection: Couldn't find item indicated by text"
any suggestions?
thanks,
eye
-
Sep 20th, 2002, 09:50 AM
#2
The picture isn't missing
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Sep 20th, 2002, 09:54 AM
#3
PowerPoster
No, until you post some of your code.
-
Sep 20th, 2002, 10:11 AM
#4
Thread Starter
Frenzied Member
please, no laughing at my code...I use ADO now! it's bombing out when it calls my SP...
On Error GoTo jobcosterr
Dim mperm As String
totot = 0
totreg = 0
mperm = "N"
If permanent Then mperm = "Y"
Set rdoqor = New rdoQuery
rdoqor.SQL = "{Call LAM.sp_lam_build_work_totals(?,?,?,?,?,?,?)}"
Set rdoqor.ActiveConnection = grdoOracle
With rdoqor
.rdoParameters(0).Type = rdTypeVARCHAR
.rdoParameters(0).Value = gwork
.rdoParameters(1).Type = rdTypeDATE
.rdoParameters(1).Value = mdate
.rdoParameters(2).Type = rdTypeINTEGER
.rdoParameters(2).Value = memployeeid
.rdoParameters(3).Type = rdTypeINTEGER
.rdoParameters(3).Value = payrulehour
.rdoParameters(4).Type = rdTypeVARCHAR
.rdoParameters(4).Value = LogonInfo.Mx_Logon
.rdoParameters(5).Type = rdTypeVARCHAR
.rdoParameters(5).Value = mperm
.rdoParameters(6).Type = rdTypeVARCHAR
.rdoParameters(6).Value = gchosen_employee
End With
rdoqor.Execute
-
Sep 20th, 2002, 10:12 AM
#5
PowerPoster
I am a bit confused: you said you use ADO now but you posted RDO stuff???!!!
-
Sep 20th, 2002, 10:14 AM
#6
Thread Starter
Frenzied Member
on my new apps I use ADO...
-
Sep 20th, 2002, 10:15 AM
#7
Originally posted by IROY55
I am a bit confused: you said you use ADO now but you posted RDO stuff???!!!
perhaps this is code he wrote a while ago.... and he is saying now he uses ado.. but then he used rdo.. if that is correct then maybe the app should be upgraded to use ado?
-
Sep 20th, 2002, 10:23 AM
#8
PowerPoster
Oh, I understand that of course, what I don't is what exactly the problem he's encountering? What line is a trouble one, etc... They almost never debug their products - just asking something like "What do you thing...?".
-
Sep 20th, 2002, 10:51 AM
#9
This isn't valid ADO "{Call LAM.sp_lam_build_work_totals(?,?,?,?,?,?,?)}"
The whole code will need to be modified to use ADO properly.
-
Sep 21st, 2002, 01:34 PM
#10
Thread Starter
Frenzied Member
I wished I never mentioned ADO. What I meant was that on different applications I'm using ADO, but on this app I am using RDO. I am getting the error when I call my SP. The app works fine on other OS (98, NT), but is giving me an error when it is ran on XP.
On Error GoTo jobcosterr
Dim mperm As String
totot = 0
totreg = 0
mperm = "N"
If permanent Then mperm = "Y"
Set rdoqor = New rdoQuery
rdoqor.SQL = "{Call LAM.sp_lam_build_work_totals(?,?,?,?,?,?,?)}"
Set rdoqor.ActiveConnection = grdoOracle
With rdoqor
.rdoParameters(0).Type = rdTypeVARCHAR
.rdoParameters(0).Value = gwork
.rdoParameters(1).Type = rdTypeDATE
.rdoParameters(1).Value = mdate
.rdoParameters(2).Type = rdTypeINTEGER
.rdoParameters(2).Value = memployeeid
.rdoParameters(3).Type = rdTypeINTEGER
.rdoParameters(3).Value = payrulehour
.rdoParameters(4).Type = rdTypeVARCHAR
.rdoParameters(4).Value = LogonInfo.Mx_Logon
.rdoParameters(5).Type = rdTypeVARCHAR
.rdoParameters(5).Value = mperm
.rdoParameters(6).Type = rdTypeVARCHAR
.rdoParameters(6).Value = gchosen_employee
End With
rdoqor.Execute
It bombs out on the rdoqor.execute line...
any suggestions?
thanks,
eye
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|