Waalaikum salam
klo menurut saya connection stringya klo pake ms.Access 95, dan file
databasenya ditaruh di folder yg tepat tambahannya seperti ini,
cn.connectionstring="Provider=microsoft.jet.oledb.3.51;"&_
integrated security=SSPI;persist security info=false; user
id=sa;datasource="&App.Path&"\database.mdb"
david krebo <[EMAIL PROTECTED]> wrote:
Assalamu'alaikum Wr.Wb
Saya ada masalah dengan program VB yang lagi saya bangun sekarang.
Kenapa pada saat saya tekan next untuk ke form selanjutnya terjadi error.
pada debug selalu ditunjukkan pada connectionstring nya tapi saya g
ngerti boss.
connectionstring nya sbb:
Cn.ConnectionString = "Provider=Microsoft.Jet.oledb.4.0;" & _
"Data Source =" & App.Path & "\database.mdb"
Cn.CursorLocation = adUseClient
Cn.Open
Debug.Print "Connection Object Created"
If Cn.State = adStateClosed Then
MsgBox "Unable to Connect Database", vbCritical, "Connection Error!!!"
End
End If
Cn.CursorLocation = adUseClient
Rs.Open "Select * from proses", Cn, adOpenDynamic, adLockOptimistic
Debug.Print "Recordset Object Created"
__________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
[Non-text portions of this message have been removed]
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
[Non-text portions of this message have been removed]