John,
I am storing Brand Names in a table called ToBrand. On a Form called Main
Menu, there is a Combo Box linked to ToBrand. The user selects the ToBrand
in the Combo Box, i.e. Brand1, Brand2, etc.
The idea is that when a certain query runs, one of the fields in the query
grid gets the ToBrand value from the Combo Box. The query queries a Table
called Cross Detail which has 220K records and 12 fields of data. Some of
the fields would be Brand1, Brand2, etc. The query would use the field in
the Cross Detail Table based on the selection in the Combo Box.
Hope this helps. Thanks
Access 2K. I need the field name in a Query to be the result of selecting
a name from a Combo Box on a Form. The form name is Main Form and the
Combo Box name is ToBrand [Forms]![Main Form]![ToBrand]. Is this possible
to set up in a Query grid?
Thanks
If you're storing data - brand names, or whatever values the combo box
returns - in fieldnames, you're WAY down the wrong track! Are you?
What's the structure of the table you're querying?
John W. Vinson[MVP]