Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with Functions
Message
De
25/09/2000 17:00:39
 
 
À
25/09/2000 16:55:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00420658
Message ID:
00420662
Vues:
22
>Hi. I have a form that contains a command button. The command button contains some code which calls a function with two parameters. One of the parameters is a numeric field and the other is a date. I am drawing a blank on how to call this function and pass the parameters, and the return the value of the two parameters back to the main code. I was going to set up the function as a method on the form, but I can't figure out how to pass in the values and return different values for the same parameters. I know how to pass one, I just don't know how to pass two.
>
>Can someone help me?
>
>Thanks in Advance
>
>Sandi Cassidy

The way to return two values is to pass them in by reference. e.g.
MyFunction(@parm1, @parm2)

However, I suggest you make the function a form method and the parameters properties on the form instead.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform