General information
Category:
Coding, syntax & commands
Thanks for your response.
Perhaps I wasn't as clear as I might be about the actual problem.
With the BoundTo value set to .F., the default, "the Value property is (automatically) determined by data type of the variable or field specified in the ControlSource property." I'm not getting a data type mismatch -- so the control is properly detecting the numeric field it's bound to. That doesn't seem to be the issue.
The problem is that I'm getting the location in the array as a return value. That's fine if the query returns values in nCode order -- because the nCode value and the index for the value in the combo box array match. However, when the query is sorted by cDescription, the nCode values no longer match the combo box array index. I want to return a value that I assign, rather than the index into the combo box array for the selected value.
Previous
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