Ok. Saya sudah coba dengan kode demikian sudah bisa untuk mengeksekusi sp
dan mengisinya ke recordset

Dim CMD As New ADODB.Command

Dim RST As New ADODB.Recordset

Dim KODE As String

CMD.CommandText = "spSTOCK"

CMD.CommandType = adCmdStoredProc

CMD.ActiveConnection = CurrentProject.Connection

 

Set RST = New ADODB.Recordset

RST.Open CMD.Execute

Set CMD = Nothing

Set RST = Nothing

 

Semoga membantu

From: [email protected] [mailto:[email protected]]
On Behalf Of wah Yono
Sent: Tuesday, August 25, 2009 5:01 PM
To: [email protected]
Subject: [belajar-access] Memanggil sp SQL server di ms acces

 

  


Saya coba membuat stored prosedure di ms SQL server untuk update table.

kode sudah jalan klo di sql server

cuma saya masih bingung kalau memanggilnya memakai ms acces

 

tolong tuliskan kodenya 

 

thx, salam

 

wahyono

 



Kirim email ke