A
Access lightweight
I need help making access give me a combo box when i run the following query.
Right now, it just asks me for the two parameters...I want to be able to
select them from a menu.
SELECT [Tbl Main Serialized Parts].[Line Number], [Tbl Main Serialized
Parts].[Station #], [Tbl Main Serialized Parts].[Machine Name], [Tbl Main
Serialized Parts].[Serial # Assigned], [Tbl Main Serialized Parts].[Date
Installed], [Tbl Main Serialized Parts].[Date Removed], [Tbl Main Serialized
Parts].[Part Type], [Tbl Main Serialized Parts].[Warranty Replaced?]
FROM [Tbl Main Serialized Parts]
GROUP BY [Tbl Main Serialized Parts].[Line Number], [Tbl Main Serialized
Parts].[Station #], [Tbl Main Serialized Parts].[Machine Name], [Tbl Main
Serialized Parts].[Serial # Assigned], [Tbl Main Serialized Parts].[Date
Installed], [Tbl Main Serialized Parts].[Date Removed], [Tbl Main Serialized
Parts].[Part Type], [Tbl Main Serialized Parts].[Warranty Replaced?]
HAVING ((([Tbl Main Serialized Parts].[Line
Number])=[Forms]![FrmLineNumber]![Combo Box Line number]) AND (([Tbl Main
Serialized Parts].[Machine Name])=[Which Machine?]))
ORDER BY [Tbl Main Serialized Parts].[Station #], [Tbl Main Serialized
Parts].[Date Installed];
Thanks...
Right now, it just asks me for the two parameters...I want to be able to
select them from a menu.
SELECT [Tbl Main Serialized Parts].[Line Number], [Tbl Main Serialized
Parts].[Station #], [Tbl Main Serialized Parts].[Machine Name], [Tbl Main
Serialized Parts].[Serial # Assigned], [Tbl Main Serialized Parts].[Date
Installed], [Tbl Main Serialized Parts].[Date Removed], [Tbl Main Serialized
Parts].[Part Type], [Tbl Main Serialized Parts].[Warranty Replaced?]
FROM [Tbl Main Serialized Parts]
GROUP BY [Tbl Main Serialized Parts].[Line Number], [Tbl Main Serialized
Parts].[Station #], [Tbl Main Serialized Parts].[Machine Name], [Tbl Main
Serialized Parts].[Serial # Assigned], [Tbl Main Serialized Parts].[Date
Installed], [Tbl Main Serialized Parts].[Date Removed], [Tbl Main Serialized
Parts].[Part Type], [Tbl Main Serialized Parts].[Warranty Replaced?]
HAVING ((([Tbl Main Serialized Parts].[Line
Number])=[Forms]![FrmLineNumber]![Combo Box Line number]) AND (([Tbl Main
Serialized Parts].[Machine Name])=[Which Machine?]))
ORDER BY [Tbl Main Serialized Parts].[Station #], [Tbl Main Serialized
Parts].[Date Installed];
Thanks...