We have a SQL expression that works perfectly except it is not ordering by anything. Here is our code:
SELECT Trade.symbol, Trade.lastTrade FROM Trade WHERE (((Trade.symbol)=FSIIX)) ORDER BY Trade.lastTrade DESC;
We took that directly from Accesss SQL view of a query that does exactly what we want it to do (the only difference between our code and Accesss is replacing the " with for use in VB.net) but we want to use this query from a vb .net application. It returns data just fine, but the data is not sorted. Any suggestions? Thanks!
SELECT Trade.symbol, Trade.lastTrade FROM Trade WHERE (((Trade.symbol)=FSIIX)) ORDER BY Trade.lastTrade DESC;
We took that directly from Accesss SQL view of a query that does exactly what we want it to do (the only difference between our code and Accesss is replacing the " with for use in VB.net) but we want to use this query from a vb .net application. It returns data just fine, but the data is not sorted. Any suggestions? Thanks!