Information générale
Catégorie:
Codage, syntaxe et commandes
I am senting a numeric value to a form parameter. I then make a public variable and assing thia parameter to it. I then use this variable in a programatic change event in a text box as part of a calculation. I send a ref to this text box to a program to do a process which sends a value back to the textbox. Somewhere the original variable looses focus because I get an error that function value or argument type is invalid.
Parameter mfsheets
Public mfsheets1
mfsheets1 = mfsheets
>TextBox ProgramicChangeEvent
Local vresl
vresl = 0
vresl = ((Val(This.Value)/mfsheets1)*100)
ThisForm.Label1.Caption = Str(vresl) + "% Complete"
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement