M
markmarko
I'd like to have an EXISTS clause in and ORDER BY Clause, but I keep getting
a syntax error, even though it looks clean.
Here it is:
ORDER BY Exists (SELECT [Record-Details-Sales].[ID] FROM
[Record-Details-Sales] WHERE [Record-Details-Sales].[SalesOrder] =
[Record-Orders-Sales].[SalesOrderID]) ;
a syntax error, even though it looks clean.
Here it is:
ORDER BY Exists (SELECT [Record-Details-Sales].[ID] FROM
[Record-Details-Sales] WHERE [Record-Details-Sales].[SalesOrder] =
[Record-Orders-Sales].[SalesOrderID]) ;