Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Revert to zero problem
Message
 
À
16/11/1999 11:26:18
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00291458
Message ID:
00291494
Vues:
26
It doesn't matter how each control got its value. You can do something like this. Note that your pseudo code was right.
IF thisform.combo1.value = "Greece" AND thisform.combo2.value = "3.1432" AND thisform.combo3.value = "Euclid"
 nAnswer = JimmyDitta("somevaluepassed")
ENDIF
>I found my problem. What i need to say is :
>
>IF combo1 has a value & combo2 has a value & combo3 has a value
>do this function
>ENDIF
>
>combo1 has hand entered values
>combo2 has an array in the init
>combo3 has hand entered values
>
>I'm not sure how to state it. Could you maybe give me a hint?
>
>
>
>>Hi Jimmy. Make the debugger your friend, it is very useful not only for debugging but for testing out how VFP does things and for getting a grip the scoping of variables.
>>
>>For info on using the debugger see the VFP help and fox.wikis.com
>>
>>>Debugger (which i'm not really famaliar with) only gives locals for the spinner as my entire database. I'm guessing it's trying to give me a clue?
>>>I'm also guessing that you're saying that the problem is in some of my function code somewhere and debugger is going to help me find it?
>>>
>>>>>If the value in Spinner1 is chosen first, then the value of other controls, the value in Spinner1 interactively changes back to zero. what could be causing this?
>>>>
>>>>Put SET STEP ON in the lost focus of spinner. Then step through the code and monitor the value of the spinner. Also, in the debugger you can set a breakpoint on the value of thisform.spinner1.value and the code will halt when the value changes.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform