Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » Access VBA
Resolved · Low Priority · Version 2003
If I have an integer variable based on a value from a combo box and that value consists of two columns, both integers how to decide which one to take?
Hi Fabian
Thanks for your question
I am assuming that you are selecting a value in a multicolumn combo box and assigning the value of that combo box to a variable.
If this is the case then the value of the combo box is always the first (left most) column in the combo box. The other columns are there to clarify the identity of the field to the user.
Thus, which ever column you wish to return must be set as the first column
Regards
Stephen
Thu 29 Oct 2009: Automatically marked as resolved.
|
Access tip:Change caseTo change case from upper or lower case, highlight the text area, hold down the Shift key and pres F3 |
We'll call during UK business hours
Server loaded in 0.07 secs.