Home > Software engineering >  Help ~ ~ vb runtime error 91
Help ~ ~ vb runtime error 91

Time:10-07


This is I downloaded from the Internet, before the database is connected well, crystal reports of what has, but is the problem, when started running for the great god answer QAQ, little women or novice ~ ~ ~

CodePudding user response:

Online, such as

Not just this one, there are also several other examples, are the problems that should be a type of problem
Don't know how to get it,
Vb is 6.0, the database is SQL sever 2000

CodePudding user response:

CodePudding user response:

Your the ExecuteSQL ()
This is a custom function!
Is it always returns a recordset?
If it returns null objects (that is, no return objects),
Perform there will certainly be error,
The value returned from this function,
Should be to judge the success of a query to the record,
You should judge the value,

CodePudding user response:

QAQ don't know, I just downloaded from the Internet the vb database system development code and crystal reports linking database of what is done, just don't know why it is an error 91, should not code problem,,

And several other download, and also is the question,
Under the great god add QQ, if it's convenient to you, willing to help or paid to also go,

QQ 275057593 (plus the time of note the CSDN)

CodePudding user response:

The
reference 3 floor Chen8013 response:
your the ExecuteSQL ()
This is a custom function!
Is it always returns a recordset?
If it returns null objects (that is, no return objects),
Perform there will certainly be error,
The value returned from this function,
Should be to judge the success of a query to the record,
You should judge the value.


Great god help QAQ
  • Related