I need store some data from Excel in as400 file
I use this code:
cmMYSQLCMD.CommandText =
"call vrlib.ITEMBSR02 ("' & sAs4Param & ')"
'execute the SQL query
Set rs_Update_BSR_Level = cmMYSQLCMD.Execute()
It is work fine. Now I need return text message as additional parameter for ITEMBSR02.
How to declare parameters instead of hard coding them
- to get an output?
That I can do something like that:
cmMYSQLCMD.CommandText =
"call vrlib.ITEMBSR02 ( Item, Error)"
MsgBox Error
[/code]
I use this code:
cmMYSQLCMD.CommandText =
"call vrlib.ITEMBSR02 ("' & sAs4Param & ')"
'execute the SQL query
Set rs_Update_BSR_Level = cmMYSQLCMD.Execute()
It is work fine. Now I need return text message as additional parameter for ITEMBSR02.
How to declare parameters instead of hard coding them
- to get an output?
That I can do something like that:
cmMYSQLCMD.CommandText =
"call vrlib.ITEMBSR02 ( Item, Error)"
MsgBox Error
[/code]