|
-
Jul 14th, 2000, 03:52 AM
#1
Thread Starter
Hyperactive Member
check this one out...
I'm opening a recordset using a data class when i call the sub to open the recodset, i pass the sql and the type of set, eg: -
DS1.SetRs "SELECT....", DynamicSet (enumerated type)
this then calls the sub which closes tyhe set if it's already open, and then opens it based on my criteria, like this: -
Rs.Open SQL, Cnn, SetType, adLockOptimistic
where SQL is the sql statement, Cnn is the active connection, SetType is the enumerated type passed to the sub and lockoptimistic is the type of locking i'm using.
the procedure i'm caling this from uses it once with no problems. it then calls it again and gets the error
'No value given for one or more required parameters'
the only thing is, i'm supplying all the arguments that are needed.
if it's important, i'm using the Microsoft.Jet.OLEDB.4.0 provider
-
Jul 14th, 2000, 08:19 AM
#2
Fanatic Member
Jimbob
That sounds like an SQL Error.
can you post the actual SQL Statement.
Gary Lowe 
VB6 (Enterprise) SP5
ADO 2.6
SQL Server 7 SP3
OK I know my spelling and grammer is crap so don't quote me on it!
To err is human to take the P! is only natural !!
Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip

-
Jul 14th, 2000, 10:47 AM
#3
Thread Starter
Hyperactive Member
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
|