Conditionally Select Rows

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a DB storing various statistics for employees (e.g., hours worked,
calls taken, average handle time), and I have a form designed to allow a user
to select which stats s/he would like to display. How would I code it so that
if the user only wanted to see, for example, hours worked and calls taken,
the query would only output those two fields? That is, I am looking to modify
the 'SELECT DISTINCTROW...' statement to only include those fields that are
selected on the form the user is interfacing with.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top