By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,179 Members | 2,175 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,179 IT Pros & Developers. It's quick & easy.

if v pass the parameter value one means ,we have to add the msg Updated successfully

P: 1
hi to all

I am calling a sql stored procedure from vb.
Expand|Select|Wrap|Line Numbers
  1. Sub IO_ORGANISER()
  2.     Dim objcmd As New ADODB.Command
  3.     objcmd.CommandText = "IOScheduler"
  4.     objcmd.CommandType = adCmdStoredProc
  5.     Call objcmd.Parameters.Append(objcmd.CreateParameter("@uid", adInteger, adParamOutput, 4, 0))
  6.     objcmd.ActiveConnection = GConn
  7.     Dim Rs As New ADODB.Recordset
  8.     Set Rs = objcmd.Execute
  9.     Rs.Close
  10.     Set Rs = Nothing
  11. End Sub
if v pass the parameter value one means ,we have to add the msg Updated successfully in the list box, else we should not add msg in the listbox

Pls help me

with regards
smak
Mar 28 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 5K+
P: 8,434
Um... could you please try to explain your question a different way? I've tried reading and re-reading your message, and I just can't follow what it is you're asking us.

Here are some pieces of information which may help us come up with an answer...
  • What version of VB are you using?
  • You refer to "the listbox" in the text. What listbox?
  • What does "v" mean?
Mar 28 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.