F
Frank
Hello All,
I am coding with VS.NET 2005 and attempting to execute a somewhat
complicated sql query.
I have created a DataLayer and an objectDataSource, bound to a DetailsView;
This work no problem if I configure the datasource of the DeatilsView to
execute
'SELECT Account
FROM DistributionList
WHERE ListName = ?
AND Broker = ?
If however I attempt to execute:
SELECT Account
FROM DistributionList
WHERE ListName = ?
AND Broker = ?
AND Account Not In (SELECT Account
FROM DistributionList
WHERE ListName = ?
AND Broker = ? )
I get an error message that values were not supplied for one or more
variables. Anybody have any suggestions please?
I am coding with VS.NET 2005 and attempting to execute a somewhat
complicated sql query.
I have created a DataLayer and an objectDataSource, bound to a DetailsView;
This work no problem if I configure the datasource of the DeatilsView to
execute
'SELECT Account
FROM DistributionList
WHERE ListName = ?
AND Broker = ?
If however I attempt to execute:
SELECT Account
FROM DistributionList
WHERE ListName = ?
AND Broker = ?
AND Account Not In (SELECT Account
FROM DistributionList
WHERE ListName = ?
AND Broker = ? )
I get an error message that values were not supplied for one or more
variables. Anybody have any suggestions please?