M
Mike
On a form I have a ComboBox (Combo8). Is there a way to base a query on the
value of what is selected in the ComboBox?
Here is the SQL statement I've created, that is not working:
SELECT [Combo8.value].DRAWING, [Combo8.value].[EQUIPMENT/CIRCUITS],
[Combo8.value].[CABLE TYPE], [Combo8.value].[FND/SEQ], [Combo8.value].COMPT,
[Combo8.value].LEX, [Combo8.value].ZONE, [Combo8.value].BILL, [23Tag and TM
Data].[To Eq], [23Tag and TM Data].[To Desc], [23Tag and TM Data].[From Eq],
[23Tag and TM Data].[From Desc]
FROM Combo8 LEFT JOIN [23Tag and TM Data] ON
Combo8.value.[EQUIPMENT/CIRCUITS]=[23Tag and TM Data].[Circuit Number];
I am trying to join the "23Tag and TM Data" table to the table represented
in the ComboBox (Combo8) and then run the query.
value of what is selected in the ComboBox?
Here is the SQL statement I've created, that is not working:
SELECT [Combo8.value].DRAWING, [Combo8.value].[EQUIPMENT/CIRCUITS],
[Combo8.value].[CABLE TYPE], [Combo8.value].[FND/SEQ], [Combo8.value].COMPT,
[Combo8.value].LEX, [Combo8.value].ZONE, [Combo8.value].BILL, [23Tag and TM
Data].[To Eq], [23Tag and TM Data].[To Desc], [23Tag and TM Data].[From Eq],
[23Tag and TM Data].[From Desc]
FROM Combo8 LEFT JOIN [23Tag and TM Data] ON
Combo8.value.[EQUIPMENT/CIRCUITS]=[23Tag and TM Data].[Circuit Number];
I am trying to join the "23Tag and TM Data" table to the table represented
in the ComboBox (Combo8) and then run the query.