Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB error

Status
Not open for further replies.

gabster

Programmer
Oct 23, 2001
192
US
Hello everyone!

When I try to run Simple Report.vbp from the Crystal Reports VB samples, I get this error:

Run-time error '-2147217842 (80040e4e)'
Operation was cancelled

And when I hit "debug" this is the piece of code that is highlighted:

m_RS.Open "Select * from customer where country = 'USA'", "xtreme sample database"

Anyone know what am I doing wrong? (I have CR 8 and VB 6)

Thank you,
Gabi.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top