Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9178895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:39:44+00:00 2026-06-17T17:39:44+00:00

Okay, so after spending a few hours on this, and following numerous online tutorials,

  • 0

Okay, so after spending a few hours on this, and following numerous online tutorials, I still cant get this ..working..

Basically,I have the ComboBox displaying an <ALL> option, but for the report, it doesn’t actually return anything, it’s just simply there for aesthetics at the moment. How do I get it to return data? There are 3 combo box’s that need to be filled out, one being Treatment Type, another for Treatment Date (Both of which will frequently use (ALL) ), and Birth Month, which will always be a specific month.

The query for the Treatment Type ComboBox is as follows:

Select "(All Records)" 
FROM Treatment
UNION Select Treatment.Treatment
From Treatment;

The query for the Treatment Date ComboBox is as follows:

Select 0, "(All Records)"  
FROM Events 
UNION 
Select  Events.DatefieldID, Events.Datefields
From Events;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:39:45+00:00Added an answer on June 17, 2026 at 5:39 pm

    <All> isn’t a special value that’s understood by Sql…

    if you’re checking in your other query that where treatmentType = [Value From Combo Box]… and the value in the combo box is “<All>“.. then no rows will match that condition, and nothing will be returned.

    Instead, you’ll need to adjust your logic to handle the <All> value differently…

    where treatmentType = [Value From Combo Box] OR [Value From Combo Box] = "<All>"

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, I just cannot figure this one out. After looking and re-looking at my
Okay so here's the situation. I have this page of data. After the data
After learning from this question that in C++ It is okay to put the
Okay, what's most annoying about this is it was working with google Chrome a
Hmmm. Okay after revisiting PInvoke, I'm sure that I don't quite get it :-/
Okay, after pounding my head against the wall for about 2 hours, I need
The following is okay: try { Console.WriteLine("Before"); yield return 1; Console.WriteLine("After"); } finally {
(Not sure if this is an okay place to ask, but i'll try). After
Okay this question is very simple: I have a facebook page, and a website.
Okay, I feel a bit foolish for having to ask this but I guess

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.