Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Guesuper Guesuper is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 408
Rep Power: 14
Guesuper mempunyai hidup yang Normal
Default ask script modul vb6 dengan beberapa koneksi tabel ??

dengan vb6



Gan Ada yang tau gak script dimodule untuk conneksi lebih dari satu tabel acces



nah misalnya table di acces 1 untuk login

ane buat yang kedua untuk data pelajar



nah script untuk koneksi lebih dari satu table itu gmn ya gan ???



nih script untuk login



Public Conn As New ADODB.Connection

Public RSPetugas As ADODB.Recordset



Public Sub Buka()

Set Conn = New ADODB.Connection

Set RSPetugas = New ADODB.Recordset

Conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\DATABASE.mdb"

End Sub



nah ane buat yang pelajar seperti itu juga tapi kok eror ya ???



Public Conn As New ADODB.Connection

Public RSPelajar As ADODB.Recordset



Public Sub Buka()

Set Conn = New ADODB.Connection

Set RSPelajar = New ADODB.Recordset

Conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\DATABASE.mdb"

End Sub



nah ada yang tau gak script yang benar ???

thanks ya gan buat yang kasih solusi !!



Reply With Quote
Reply


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


 


All times are GMT +7. The time now is 01:32 AM.


no new posts