Jump to content
We've recently updated our Privacy Statement, available here ×

Dynamically Call SQL1 or SQL2 Statements


stevennorris

Recommended Posts

I need to have an option to choose between two options:

Option1:  Date is equal to ?

Option2:  Record Number is equal to ?

I know I can use the parameters to generalize my SQL statements, but since my two options are not connected, how can I have two sql statements and once my option is selected i set the correct SQL for the report.  If option 1 is used then I would like to use SQL1, or if option 2 is used I would like to use SQL2.  Any ideas would be greatly appreciated.

Regards

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...