I have the datagridview of USERS table on the form. I add query to new column, and create scalar query for added column like this:
SELECT COUNT(*) AS Column1
FROM vw_Reception
WHERE (PH17 >= @PH17) AND (PH17 < @PH18) AND (WO15 = @WO07)
and receive this error:
the scema returned by the new query differs from the base query
This query calculates records from a view named vw_reception, but there are no any componet like dataadapter or datagridview for this view on the form.