If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
app.path i dunno whats wrong HELP newbie here?
AM USING THIS for
now---------------------------------------------------------------------------------------- Public Sub OpenDBConnection() Set conn = New ADODB.Connection Set rec = New ADODB.Recordset strconek = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\balik sa dati\data\MFMS.mdb;Persist Security Info=False" conn.CursorLocation = adUseClient conn.Open strconek End Sub ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ICANT USE THIS Public Sub OpenDBConnection() Set conn = New ADODB.Connection Set rec = New ADODB.Recordset strconek = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & app.path & "\data\MFMS.mdb;Persist Security Info=False" conn.CursorLocation = adUseClient conn.Open strconek End Sub ----------------------------------------------------------------------------------------- |
Thread Tools | |
Display Modes | |
|
|