Hi,
That doesn't look like an SQL expression to me but I could be wrong.
Function reportGen()
Dim db As Database
Dim rs As Recordset
Dim select_sql As String
select_sql = "select * from BA_Report_Master into NewTable where ((Not ([BA_Report_Master].Location) Is Null));
Set db = CurrentDb()
db.Execute (select_sql)
End Function
You should be able to run this like a sub. It should create a new table NewTable and populate it with the SQL listed above. I might be totally off what you're going for, but let us know.
HTH,