Vill ha mina poster efter en ranking. Du har fel ordning på satsen...ORDER BY problem
<code>
SQL = "SELECT TOP 4 * FROM prodTb ORDER BY ranking DESC WHERE " & ratio & " >= throw1 AND " & ratio & " <= throw2"
</code>
Får felmeddelande:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in ORDER BY clause.
Tack på förhand
ChristoferSv: ORDER BY problem
SQL = "SELECT TOP 4 * FROM prodTb WHERE " & ratio & " >= throw1 AND " & ratio & " <= throw2 ORDER BY ranking DESC"
/Johan