|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#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 |
|
|
|
|
|
#2 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,791
|
I'm going to move this to the Programming forum.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|