![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Function ShowUserRosterMultipleUsers() 'Source: kb 198755. Dim cn As New ADODB.Connection 'Dim cn2 As New ADODB.Connection Dim rs As New ADODB.Recordset Dim i, j As Long cn.Provider = "Microsoft.Jet.OLEDB.4.0" <<<- what would this be for .accdb ? cn.Open "Data Source=C:\Data\Northwind2003.mdb" The above is from Allen Browne's (much appreciated) website. Problemo is that this is Ok on Access2k or .MDB databases but what does the cn.provider need to change to for .accdb databases, Ac2007 & AC2010? |
![]() |
| Thread Tools | |
| Display Modes | |
| |