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 6650857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:56:31+00:00 2026-05-26T00:56:31+00:00

I have a query which goes like this: StockAnalytics.uDIX – StockAnalytics.dDIX > 0.5 AND

  • 0

I have a query which goes like this:

StockAnalytics.uDIX - StockAnalytics.dDIX > 0.5 
    AND (Today1.uDIX - Today1.dDix) > 0.5 
    AND (Today2.uDIX - Today2.dDix) > 0.5 
    AND (Today1.uDIX - Today1.dDix) > (Today2.uDIX - Today2.dDIX)
    AND (Today2.uDIX - Today2.dDIX) > (Today3.uDIX - Today3.dDIX) 
    AND StockAnalytics.[Date] > @Date    

I am trying to take the input from the user on which date he wants to run the query. When I enter the date, it asks for the same input twice.

Anything wrong with this query?

Soham

EDIT: I don’t think, I could get my problem across. When I use this code snippet, it works perfectly, except for the fact that, the dialog box, prompting the user to enter the Date, comes twice I don’t want to have it pop twice. Only after the user has entered the “date” the second time, does the results come up

  • 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-05-26T00:56:32+00:00Added an answer on May 26, 2026 at 12:56 am

    If you need to include a parameter twice as in:

     SELECT Stuff
     FROM ATable
     WHERE FirstDate > [Please enter date: ]
     AND SecondDate > [Please enter date: ]
    

    Then include a parameter line:

     PARAMETERS [Please enter date: ] DateTime;
     SELECT Stuff
     FROM ATable
     WHERE FirstDate > [Please enter date: ]
     AND SecondDate > [Please enter date: ]
    

    Or better yet, use a form:

     SELECT Stuff
     FROM ATable
     WHERE FirstDate > Forms!Dates!txtDate
     AND SecondDate > Forms!Dates!txtDate
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a query which works, goes like this: Select count(InsuranceOrderLine.AntallPotensiale) as potensiale, COUNT(InsuranceOrderLine.AntallSolgt)
I have a query which goes like this :- SELECT count(*) as count FROM
We have a query which goes like this: select * from foo where some_fk_id
I have a query which goes like this. SELECT * FROM <database1> WHERE (Condition1)
I have a query which produces a list of orders like this: Invoice Description
I have a simple sql query that goes like this: SELECT * FROM leaderboard
I'm having a Hibernate query problem, basically it goes like this ... I have
I have this query which is running perfectly From this query I am selecting
I have this query which works correctly in MySQL. More background on it here
I have a table called myTable which is like this: id, myDate, name, group

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.