Using Combo Box Column( ) Property in SQL Code (1 Viewer)

dungstar

Registered User.
Local time
Today, 21:59
Joined
Mar 13, 2002
Messages
72
In a multi-column ComboBox, how do I call other columns (not the first one) in SQL.
This code works for calling the information from the first column:
[Forms]![frmLocation]![cboLocation]

I want to use a retrieve a value that is in the third column, so I try this:
[Forms]![frmLocation]![cboLocation].Column(2)

This code doesn't work in SQL, what's the proper to retrieve a value from another column?
 

SimonC

Registered User.
Local time
Today, 21:59
Joined
Feb 25, 2002
Messages
48
Try this:

[Forms]![frmLocation]![cboLocation].[Column]![2]

Simon.
 

Users who are viewing this thread

Top Bottom