|
-
Nov 6th, 2000, 12:18 PM
#1
Thread Starter
Lively Member
Someone can help me with this mistake:
the query runs perfectly, but when i run the next line it shows me an error "Type mismatch"
pQuery = "Select PubID, Name, Telephone from Publishers"
ReportWriter.F1Book1.ODBCQuery pQuery, 1, 1, False, True, True, True, False, pRetCode
Tnax
-
Nov 6th, 2000, 12:22 PM
#2
Frenzied Member
What is the next line after the query?
-
Nov 6th, 2000, 12:25 PM
#3
Thread Starter
Lively Member
This is the next line:
code:
_________________________________________________________
ReportWriter.F1Book1.ODBCQuery pQuery, 1, 1, False, True, True, True, False, pRetCode
_________________________________________________________
-
Nov 6th, 2000, 12:37 PM
#4
Frenzied Member
I think the problem is in this part
pQuery, 1, 1, False, True, True, True, False, pRetCode
What kinda variable is pQuery? and pRetCode?
and what kind of variables does it need?
for example if I code a Function like this
Code:
Private Function DoError(bool As Boolean)
'and you pass it a string:
Call DoError("yes")
'it'll result in a type mismatch.
So check if you pass it the right variables.
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
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
|