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

  • Home
  • SEARCH
  • 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 264563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:41:45+00:00 2026-05-11T22:41:45+00:00

I’m using C# and Winforms. I’m trying to make a report that gives a

  • 0

I’m using C# and Winforms. I’m trying to make a report that gives a list of people that need to renew their memberships if they expire within a user supplied date range. I’ve got a connection to an Access file, and I’m trying to set up a fill query for a TableAdapter, and I can’t figure out how to put a variable in my “WHERE” clause. The below SQL works to do what I need but obviously I don’t want to hard code the dates. I would like to substitute the dates with the variables “fromDate” and “toDate”. How can I do this? Thanks.

SELECT   [Last Name], [First Name], [Renewal Date]
FROM     Members
WHERE    ([Renewal Date] >= #1/1/2000#) AND ([Renewal Date] <= #1/1/2012#)
ORDER BY [Renewal Date]
  • 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-11T22:41:46+00:00Added an answer on May 11, 2026 at 10:41 pm

    In access here you can find how to define in a query that a value will be used as a paramater.

    Here you can find samples of how to set parameter values in .net.

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

Sidebar

Related Questions

I'm Trying to deploy my winforms project using installshield in order to make is
We are developing a multilingual Winforms application using visual studio 2008. I am trying
I'm trying to output unicode string into RTF format. (using c# and winforms) From
I'm building a winForms app in NET3.5SP1 using VS2008Express. Am trying to deserialize an
I'm using winforms and I've got a comboBox that represents an IQueryable. Below the
This is on .Net 4, full framework. I'm trying to make a simple winforms
Here's the setup: I'm trying to make a relatively simple Winforms app, a feed
I'm trying to create an auto-updating app using Winforms. I can't use click-once or
Hey guys. I'm working in WinForms and trying to create a ComboBox control that
I'm trying out Ninject with a winforms app (basically a sketch, I'm using it

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.