General information
Category:
Coding, syntax & commands
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only