A
Anthony
I have a table that contains real data and then I have a table that has dummy
data that is needed for another program that I'm sending the file too. I
need to figure how to put them in the same colunm in the table. Here is my
statement.
SELECT [DBA_DEVICES]![deviceName] & " " & [DBA_ITEMS]![itemId] AS [Station
Name & Item], DBA_ITEMS.itemName AS [Item Desc], DBA_POCKET.pktParQty AS Par,
DBA_POCKET.pktRefillPoint AS Refill
FROM [DocFinity Fake Records], (DBA_ITEMS INNER JOIN (DBA_POCKET INNER JOIN
DBA_DEVICES ON DBA_POCKET.deviceIid = DBA_DEVICES.deviceIid) ON
DBA_ITEMS.itemIid = DBA_POCKET.itemIid) INNER JOIN [item class crosswalk] ON
DBA_ITEMS.itemClass = [item class crosswalk].[Table Class];
I know I have to use the UNION statement, but have not been able to get it
right.
Below is what I'm trying to accomplish. If anyone could help in any way.
Station Name & Item Item Desc Par
Refill
SS-MICU 06022 - Real Data IV SET 5
3
SS-MICU 0000 - Fake Data N/A
data that is needed for another program that I'm sending the file too. I
need to figure how to put them in the same colunm in the table. Here is my
statement.
SELECT [DBA_DEVICES]![deviceName] & " " & [DBA_ITEMS]![itemId] AS [Station
Name & Item], DBA_ITEMS.itemName AS [Item Desc], DBA_POCKET.pktParQty AS Par,
DBA_POCKET.pktRefillPoint AS Refill
FROM [DocFinity Fake Records], (DBA_ITEMS INNER JOIN (DBA_POCKET INNER JOIN
DBA_DEVICES ON DBA_POCKET.deviceIid = DBA_DEVICES.deviceIid) ON
DBA_ITEMS.itemIid = DBA_POCKET.itemIid) INNER JOIN [item class crosswalk] ON
DBA_ITEMS.itemClass = [item class crosswalk].[Table Class];
I know I have to use the UNION statement, but have not been able to get it
right.
Below is what I'm trying to accomplish. If anyone could help in any way.
Station Name & Item Item Desc Par
Refill
SS-MICU 06022 - Real Data IV SET 5
3
SS-MICU 0000 - Fake Data N/A