Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / July 2005

Tip: Looking for answers? Try searching our database.

dynamic operator ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RP - 28 Jul 2005 19:46 GMT
Is there anyway we can have dynamic operator in filters ????
instead of  > i want to put parameters!operator.value
RobFarley - 30 Jul 2005 07:08 GMT
Yes but you need to generate your sql dynamically... see my post her

http://www.sqltalk.org/ftopic34616.htm

So you'll need a datasource of > < = >= <= then get you
user to pick from the field

Then dynamically add that parameter into your sq

so you'd have 'WHERE quantity ' + @operator + @valueparamate

Then exec the sql
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.