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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

to add an unbound without the parameter value



 
 
Thread Tools Display Modes
  #1  
Old December 6th, 2006, 06:06 PM posted to microsoft.public.access.forms
Bessie
external usenet poster
 
Posts: 10
Default to add an unbound without the parameter value

hello
how to add an unbound tex box using the from date and to date in a form?
without adding it to the criteria in the query table.
i do not want the enter parameter value to pop up once i put the date into
the unbound box.

Bessie

  #2  
Old December 6th, 2006, 06:37 PM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default to add an unbound without the parameter value

On Wed, 6 Dec 2006 10:06:03 -0800, Bessie
wrote:

hello
how to add an unbound tex box using the from date and to date in a form?
without adding it to the criteria in the query table.
i do not want the enter parameter value to pop up once i put the date into
the unbound box.

Bessie


It's easy to add the textboxes to the form - just use the toolbar
textbox tool, and don't put anything into the control source.

The parameter in your Query would be

= [Forms]![YourFormName]![txtFrom] AND DateAdd("d", 1, [Forms]![YourFormName]![txtTo])


The DateAdd will catch records with date/time values after midnight on
the last day of the range.

John W. Vinson[MVP]
 




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 12:45 PM.


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