Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Programmatically choosing Combobox values
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
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