Bullsandbears123
Technical User
I am trying to set a value based on a value in my VB code
EXAMPLE:
dim value as integer
value=5
I also have SQL
Create PROC Setvalue
@input
AS SELECT field1, field1+@input FROM table1
How do I assign a value to the variable. I need to know if my SQL looks correct and what to type in my VB code to assign the value.
How to make value=@input in VB for SQL
THanks
EXAMPLE:
dim value as integer
value=5
I also have SQL
Create PROC Setvalue
@input
AS SELECT field1, field1+@input FROM table1
How do I assign a value to the variable. I need to know if my SQL looks correct and what to type in my VB code to assign the value.
How to make value=@input in VB for SQL
THanks