PDA

View Full Version : VB and stored Procedures.......



Guest.Visitor
01-01-1995, 02:00 AM
I'm new to the VB coding world, so bear with me. I created a stored proc on the AS/400 called VBLINESTS. I used the AS/400SDK to generate VB code to call the stored proc. Now I need to create a VB form that runs the generated code. Here is what I tried: <font color=green>' Form General Code - Define an instance of the DA400Links class </font> Public Links As New DA400Links Private Sub VBLINESTS_Click() ' <font color=green>Make the call. </font> VBLINESTS.Execute(Rcds, adCmdText) = DA400Links End Sub Private Sub Form_Load() '<font > color=green>{{DA400_LINK_BEGIN}}</font> Set Links = New DA400Links '<font color=green>{{DA400_LINK_END}}</font> End Sub Just trying to keep up.... Just trying to keep up....