Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-27-2003, 11:52 AM   #1
Member (5 bit)
 
Join Date: Feb 2003
Location: UK
Posts: 19
Database Connections

When running this code in VB 6 i get the error "Compile Error: Invalid Outside Procedure" Whats wrong with the code and if its not the code then how can i solve the problem. I think it maybe something outside of the code but just dont have a clue. Please help me out with this.

rsConnection.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source =" & App.Path & "\database.mdb"
rsConnection.LockType = adLockOptimistic
rsConnection.CursorType = adOpenForwardOnly

Thanks
SP8600 is offline   Reply With Quote
Old 04-27-2003, 12:22 PM   #2
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,791
I'm going to move this to the Programming forum.
glc is online now   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2