Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duwamish Application - Phase 1
Message
From
26/11/1998 23:54:08
 
 
To
26/11/1998 13:47:23
Jody Cairns
OAO Technology Solutions
Moncton, New Brunswick, Canada
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00161729
Message ID:
00161891
Views:
21
>>1. In GetRecordSet - DataAccessAPI module when a sql statement is passed oRecordSet.Open gives an error. However on testing it is further determined that
>
>I downloaded the sample again and took a look at it. It works fine on my machine, including the executable that came with the package. Make sure you have the right version of ADO installed. I suspect that is the problem.
>
>>2. Could someone explain the Err.Raise lErrNo, OBJECT, sErrDesc statement in the above function! I beleive it is faulty!
>
>That statement appears correct. That statement reraises an error that occurs earlier in the procedure (if there is an error). The OBJECT name is a constant they defined at the top of the module. They reraise the error because their error handler closes the data connection first.
>
>Best,
>
>jody

I have MDAC version 1.5 installed. I 've tried the above i.e.
ORecordSet.Open SQLStatement, oConn
in VFP 5.0, and everything works fine. So I can't really understand why the app shouldn't work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform