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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:37:35+00:00 2026-05-22T15:37:35+00:00

query_TMEditSheet = _ From tm In Context_DomainService1TMTM.GetTMTMSQuery() Where tm.tmsDate = MainPage.TimeSheetDateSelect_selectdate.Date Where tm.tmsUserID =

  • 0
 query_TMEditSheet = _
                    From tm In Context_DomainService1TMTM.GetTMTMSQuery()
                    Where tm.tmsDate = MainPage.TimeSheetDateSelect_selectdate.Date
                    Where tm.tmsUserID = MainPage.user_userID

Using where two times like this means, AND/ ANDALSO/OR?

  • 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-22T15:37:36+00:00Added an answer on May 22, 2026 at 3:37 pm

    Using where twice would mean AND. Something like:

    SELECT tm.* FROM ... tm WHERE tm.tmsDate = ? AND tm.tmsUserID = ?
    

    You would probably have the same effect by putting both conditions in the same Where statement, like:

    Where tm.tmsDate = MainPage.TimeSheetDateSelect_selectdate.Date && tm.tmsUserID = MainPage.user_userID
    

    but what you have is more readable IMO.

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

Sidebar

Related Questions

query_TMEditSheet = _ From tm In Context_DomainService1TMTM.GetTMTMSQuery() From ts In Context_DomainService1TMTM.GetGECODsQuery() Where tm.tmsDate =
This query: SELECT * FROM table WHERE field = 'EN' I would like to
Query I'm using: SELECT COUNT(*), SUM(amount) AS amount, FROM_UNIXTIME(added, '%W (%e/%m)') AS daily FROM
This query: SELECT tbl_deliverable.*, user_to_deliverable.* where tbl_deliverable.id = user_to_deliverable.d_id returns this error from phpmyadmin:
Query: SELECT * FROM table WHERE fieldA LIKE '%%' AND fieldB LIKE '%%' AND
Query: SELECT TOP 1 ReportInvoked , EmailSent FROM tblReportInvoker WHERE WebUserId = 12345 This
Query 1: I'm using MKMapKit in which I want to display two location one
Query: select distinct (Customer) ,CustomerID from history where Customer != '' and Customer LIKE
Query.QueryOperator.AND_Field We were using this method in Tridion R5.3 VBscript templates and it worked
Query 1: SELECT * FROM user_d1 WHERE EXISTS (SELECT 1 FROM `user_d1` WHERE birthdate

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.