General information
Category:
Coding, syntax & commands
Hi:
If valor is a datasource you will need to pass this datasource using ByRef,
if it is a value you must pass it by value.
For example we will use the field name test as string in datasource Valor
example by ref:
VerificarValor(Valor)
Private Function VerificarValor(ByRef datValor as variant)
x = datValor.Recordset("test")
end function
example by value:
VerificarValor(Valor.Recordset("test"))
Private Function VerificarValor(ByVal strValor as string)
x = strValor
end function
I hope that this will help you.
Good Luck
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only