I have the SQL below
SQL = "SELECT TOP 300 FROM [EXPORT]WHERE [DISTRICT]=" & """RSnEW(0) " & " ORDER BY [EMPLOYEE SIZE];"
I want to put it in a loop so that it will cycle through the rsNew recordset running the sql each time.
I get errors on the sql but dont know why
How should the SQL look?
SQL = "SELECT TOP 300 FROM [EXPORT]WHERE [DISTRICT]=" & """RSnEW(0) " & " ORDER BY [EMPLOYEE SIZE];"
I want to put it in a loop so that it will cycle through the rsNew recordset running the sql each time.
I get errors on the sql but dont know why
How should the SQL look?