Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Revert to zero problem
Message
 
À
16/11/1999 11:54:39
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:
00291502
Vues:
28
Don't worry about the wide screen. That was because of a HTML tag that I used.

The if depends on your data type. It would either be

IF thisform.combo1.value <> 0

OR

IF thisform.combo1.value <> "0"

>Almost there. (Thanks for the pat on the back for psuedocode.)
>
>The misunderstanding was my fault.
>I need it to say:
>IF combo1 has anyvalue other than 0 & ...
>do this function
>ENDIF
>
>Thanks again.
>
>By the way Evan, do you remember me complaining that youre mail crashed
>my system? Well, it almost just happened again. It's really wierd. If I
>receive mail (on UT & so far only from you) the page in my mail frame
>is oversized (I can see only your picture and half of your name in my
>"To" section on the top of the page). When I see this, I know that all
>I have to do to crash my system is grab the scrollbar and scroll
>down . . . CRASH. The Microsoft mouse scroller doesn't have a problem
>with it. In addition, when the UT refreshed posted messages, the page
>reverted back to its proper size.
>
>Do you think that this is something I need to report?
>
>JD
>
>>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
Répondre
Fil
Voir

Click here to load this message in the networking platform