this is my string and i am getting a operand missing in the from statment. anyone have any ideas as to what is wrong with it.
sql_str = "SELECT Amount(Amount) as m " & _
"FROM EntryTable INNER JOIN HeaderTable ON EntryTable.Reference # = HeaderTable.REference # " & _
gWhereStrArr(i) & "And ItemTable.Item Discription = " & gColNameArr(j) & " "
sql_str = "SELECT Amount(Amount) as m " & _
"FROM EntryTable INNER JOIN HeaderTable ON EntryTable.Reference # = HeaderTable.REference # " & _
gWhereStrArr(i) & "And ItemTable.Item Discription = " & gColNameArr(j) & " "