@%1-3 are variables that's replaced by our system. So far so good. Here's the tricky part. A new requirement is to send a part of the JobNo (@%2), to another field as well, that we might call LineNo.
Public Function MyFunction(ByVal id As Int) As Object Dim sSQL As New MySqlCommand sSQL.Connection = db1 sSQL.Parameters.AddWithValue("@id", ID) sSQL.CommandText ...