E
Eliezer
OK, I've looked all around, but I have no idea what the
heck this line means, and best I can tell its screwing my
module up.
I posted earlier while writing a module for a table with
values such as "abc1, abc2, abc3...". I was (and still am)
trying to write something which will do, simply put,
Dim cnn As ADODB.Connection
Set cnn = CurrentProject.Connection
Dim rst As New ADODB.Recordset
Dim ** all the necessary variables in all their correct
types... integers are integers, strings are strings **
rst.Open "select * from testdata", cnn, adOpenDynamic,
adLockOptimistic
for n = 1 to 50
tempname = "abc" & CStr(n)
if rst(tempname) > 2
** do stuff **
else:
next n
However, when I run this, I get an error:
Run-time error '3265':
Item cannot be found in the collection corresponding to
the requested name or ordinal
What the heck does that mean, and how can I fix it? Thanks
in advance!
heck this line means, and best I can tell its screwing my
module up.
I posted earlier while writing a module for a table with
values such as "abc1, abc2, abc3...". I was (and still am)
trying to write something which will do, simply put,
Dim cnn As ADODB.Connection
Set cnn = CurrentProject.Connection
Dim rst As New ADODB.Recordset
Dim ** all the necessary variables in all their correct
types... integers are integers, strings are strings **
rst.Open "select * from testdata", cnn, adOpenDynamic,
adLockOptimistic
for n = 1 to 50
tempname = "abc" & CStr(n)
if rst(tempname) > 2
** do stuff **
else:
next n
However, when I run this, I get an error:
Run-time error '3265':
Item cannot be found in the collection corresponding to
the requested name or ordinal
What the heck does that mean, and how can I fix it? Thanks
in advance!