Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems to pass a parameter
Message
De
21/07/1998 14:40:50
Raphael Joseph
Paradigm Business Solutions
Shawnee, Kansas, États-Unis
 
 
À
20/07/1998 13:33:18
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00119362
Message ID:
00119809
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform