A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Parameter query



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2009, 08:14 AM posted to microsoft.public.access.queries
Richard
external usenet poster
 
Posts: 34
Default Parameter query

Hi forum,

I have an unbound form with a Calendar control (9.0) Two unbound text boxes,
option group, and a command button. I all ready have the calendar working the
way I need it. When I pick a start date it places that value in my startdate
textbox, and the end date in my enddate text box. I need to pass those values
to a parameter query via my command button but, have been unsuccessful. I was
trying things like this Between [Start Date] And [End Date] but it throws
up a dialog box. I just want to pass the two values to the query without the
dialog boxes. I hope I was clear enough thanks.

Richard

  #2  
Old July 12th, 2009, 12:28 PM posted to microsoft.public.access.queries
Ken Snell [MVP]
external usenet poster
 
Posts: 279
Default Parameter query

Between Forms!NameOfForm!NameOfStartDateControl And
Forms!NameOfForm!NameOfEndDateControl
--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Richard" u53223@uwe wrote in message news:98f3a8e3aab87@uwe...
Hi forum,

I have an unbound form with a Calendar control (9.0) Two unbound text
boxes,
option group, and a command button. I all ready have the calendar working
the
way I need it. When I pick a start date it places that value in my
startdate
textbox, and the end date in my enddate text box. I need to pass those
values
to a parameter query via my command button but, have been unsuccessful. I
was
trying things like this Between [Start Date] And [End Date] but it
throws
up a dialog box. I just want to pass the two values to the query without
the
dialog boxes. I hope I was clear enough thanks.

Richard



  #3  
Old July 12th, 2009, 05:26 PM posted to microsoft.public.access.queries
drill_monkey via AccessMonster.com
external usenet poster
 
Posts: 1
Default Parameter query

Brilliant.

Thank you


Ken Snell [MVP] wrote:
Between Forms!NameOfForm!NameOfStartDateControl And
Forms!NameOfForm!NameOfEndDateControl
Hi forum,

[quoted text clipped - 15 lines]

Richard


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...eries/200907/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:58 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.