I'm attempting to filter a dropdown list based on the value of a parent dropdown list. Everything appears to be configured correctly, but the second dropdown is returning all of the values vs. the expected filtered values.
Parent Stored Procedure
USE TempLaborMasterDB]
GO
/****** Object: StoredProcedure dbo]..SP_Get_All_Location_Types] Script
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE dbo]..SP_Get_Location_Types]
-- Add the parameters for the stored procedure here
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Insert statements for procedure here
SELECT LocationTypeID, LocationType
FROM dbo.LocationTypes
END
Child Stored Procedure
USE TempLaborMasterDB]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE dbo]..SP_Get_Locations_Name]
-- Add the parameters for the stored procedure here
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Insert statements for procedure here
SELECT
LocationName,LocationTypeID
FROM dbo.Locations
END
Table Scheme
Parent Dropdown List Control