/* */

Tuesday, August 25, 2009

[belajar-access] Memanggil sp SQL server di ms acces

----- Original Message -----
From: "HENDRA" <hendragunadi@gmail.com>
To: <belajar-access@yahoogroups.com>
Sent: Tuesday, August 25, 2009 5:34 PM
Subject: RE: [belajar-access] Memanggil sp SQL server di ms acces


> 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: belajar-access@yahoogroups.com
[mailto:belajar-access@yahoogroups.com]
> On Behalf Of wah Yono
> Sent: Tuesday, August 25, 2009 5:01 PM
> To: belajar-access@yahoogroups.com
> 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
>
>
>
>
>
>

No comments:

Post a Comment