General information
Category:
Coding, syntax & commands
You can use cast(thisform.cboList.value as int) and there is no error if the value is already an int.
>I have found that when binding a listbox to a numeric value, and then later retrieving that value, it is always safest to use:
>
>lnValue=val(transform(thisform.cboList.value))
>
>as sometimes the listbox can return a numeric value, and sometimes it can return a character and I got tired of trying to remember when and what caused the difference.
Previous
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