lauriebizz
Technical User
Crystal 9 /SQL
I've got a report that pulls from both an excel file (provided by client) and our SQL DB. I'd like a select statement to only select items that have a product code of 'FG' from our DB, but include any locations from the excel file that do not have an order associated with it. The key field is the location # on the excel sheet and the db table.
I tried the statement with no luck:
select {item.item} where {item.product_code} = 'FG'
Error message is "Syntax error or access violation"
But obviously, I have no idea what I'm doing. Any help?
Thanks-
Laurie
I've got a report that pulls from both an excel file (provided by client) and our SQL DB. I'd like a select statement to only select items that have a product code of 'FG' from our DB, but include any locations from the excel file that do not have an order associated with it. The key field is the location # on the excel sheet and the db table.
I tried the statement with no luck:
select {item.item} where {item.product_code} = 'FG'
Error message is "Syntax error or access violation"
But obviously, I have no idea what I'm doing. Any help?
Thanks-
Laurie