Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically choosing Combobox values
Message
From
15/11/1999 16:29:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Programmatically choosing Combobox values
Miscellaneous
Thread ID:
00291288
Message ID:
00291288
Views:
56
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
Map
View

Click here to load this message in the networking platform