Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems to pass a parameter
Message
From
21/07/1998 14:40:50
Raphael Joseph
Paradigm Business Solutions
Shawnee, Kansas, United States
 
 
To
20/07/1998 13:33:18
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00119362
Message ID:
00119809
Views:
21
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
Map
View

Click here to load this message in the networking platform