Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically choosing Combobox values
Message
De
15/11/1999 16:29:25
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Programmatically choosing Combobox values
Divers
Thread ID:
00291288
Message ID:
00291288
Vues:
55
I'm trying to use a function to determine the value of a combobox.
This is the code:

IF thisform.pageframe1.page1.spinner1.value >= 1

SET DECIMALS TO 0
SET FIXED ON && Fix decimal display
CLEAR

thisform.pageframe1.page1.bun1.displayvalue = round((( thisform.lncol2value1 * thisform.lncol3value1 * ;
val(thisform.pageframe1.page1.len1.displayvalue)) / thisform.pageframe1.page1.spinner1.value ) , 0)

ENDIF

...I think my syntax telling this generated number to be displayed in bun1 is missing something, but in case i'm wrong, my types are:
1. bun1 is a combo w/ numeric value (no decimals)
2. lncol2value1 is a variable w/ numeric value (example: .667)
3. lncol3value1 is a variable w/ numeric value (no decimals)
4. len1 is a combo w/ numeric value (no decimals)
5. spinner1 has a float value

Thanks ahead of time,
JD
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform