greggranger
MIS
I am having trouble pasing a variable from a form to a stored procedure, running the stored procedeure and returning the result set to the screen.
I am able to pass the variable from the form to a vb variable, but cannot figure out how to call the stored procedure using the variable??
The code I have to set the variable is:
Dim ccfid1 As String
TxtID.SetFocus
ccfid1 = TxtID.Text
I would prefer to run the stored procedure with the ccfid1 value as the variable and return the results on screen. The name of my stored procedure is "spLSRptVerification".
I know this can't be too complicated and it's driving me crazy not being able to figure it out. Any help is appreciated.
I am able to pass the variable from the form to a vb variable, but cannot figure out how to call the stored procedure using the variable??
The code I have to set the variable is:
Dim ccfid1 As String
TxtID.SetFocus
ccfid1 = TxtID.Text
I would prefer to run the stored procedure with the ccfid1 value as the variable and return the results on screen. The name of my stored procedure is "spLSRptVerification".
I know this can't be too complicated and it's driving me crazy not being able to figure it out. Any help is appreciated.