PC Review


Reply
Thread Tools Rate Thread

app.path i dunno whats wrong HELP newbie here?

 
 
macken09@gmail.com
Guest
Posts: n/a
 
      28th Aug 2006
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
-----------------------------------------------------------------------------------------

 
Reply With Quote
 
 
 
Reply

Thread Tools
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
app.path i dunno whats wrong HELP newbie here? macken09@gmail.com Microsoft Access Forms 3 28th Aug 2006 05:08 PM
app.path i dunno whats wrong HELP newbie here? macken09@gmail.com Microsoft Access Forms 0 28th Aug 2006 10:45 AM
dunno wots wrong crazyguy_2k Support 7 14th Jul 2006 08:11 AM
Default wallppr path? / how to pckg graphic w/that path in executable for install by extreme newbie in XP? StargateFan Windows XP Help 1 10th May 2005 05:50 PM
dunno whats going on... =?Utf-8?B?dXJnZW50fiEhIQ==?= Windows XP Help 1 25th May 2004 04:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:02 PM.