ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   SQL parameter query - more than cell value (https://www.excelbanter.com/excel-programming/376608-sql-parameter-query-more-than-cell-value.html)

SarahS

SQL parameter query - more than cell value
 
I have created a parameter query in Excel which returns data from an sql
database. The parameter is based on a cell value. Rather than return records
equal to the cell value, I would like to return those which are greater than
the cell value. I have tried everything I can think of but no luck so far.
Any ideas please?

Thanks
Sarah

Nick Hodge

SQL parameter query - more than cell value
 
Sarah

Just add the operator to your parameter query in MSQuery

[TheValueINeed]


--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

HIS
www.nickhodge.co.uk

"SarahS" wrote in message
...
I have created a parameter query in Excel which returns data from an sql
database. The parameter is based on a cell value. Rather than return
records
equal to the cell value, I would like to return those which are greater
than
the cell value. I have tried everything I can think of but no luck so far.
Any ideas please?

Thanks
Sarah





All times are GMT +1. The time now is 04:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com