PC Review


Reply
Thread Tools Rate Thread

Add all values item to a date field query in a drop down box

 
 
=?Utf-8?B?Qm9i?=
Guest
Posts: n/a
 
      5th Apr 2007
I have a drop down box created from a database results wizard that selects
and displays the unique dates in a table. The user is asked to select a date
from that drop down box and that selection is submitted to another database
results wizard to produce a listing of items with that date in it.

I would like to be able to permit the user to select any date by adding an
any value to the drop down box - is this possible?

I can find instructions on how to create this type of wildcard search in
text and numeric fields, but nothing on date fields.
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      5th Apr 2007
Not possible to allow a user to add content to drop down menu. You would have to add a choice and a
text field for the user to enter their option, then write custom code to process the submission.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Bob" <(E-Mail Removed)> wrote in message
news:CD0C95F4-2129-4F80-B981-(E-Mail Removed)...
>I have a drop down box created from a database results wizard that selects
> and displays the unique dates in a table. The user is asked to select a date
> from that drop down box and that selection is submitted to another database
> results wizard to produce a listing of items with that date in it.
>
> I would like to be able to permit the user to select any date by adding an
> any value to the drop down box - is this possible?
>
> I can find instructions on how to create this type of wildcard search in
> text and numeric fields, but nothing on date fields.



 
Reply With Quote
 
=?Utf-8?B?Qm9i?=
Guest
Posts: n/a
 
      5th Apr 2007
Sorry, I didn't make myself clear. I would like to add in a wildcard value
equivalent to % for text fields, the value would be labeled Any and would be
placed in the drop down menu. What I have found is that the % only works for
text fields and I have not be able to find the equivalent for Date fields.

"Thomas A. Rowe" wrote:

> Not possible to allow a user to add content to drop down menu. You would have to add a choice and a
> text field for the user to enter their option, then write custom code to process the submission.
>
> --
> ==============================================
> Thomas A. Rowe
> Microsoft MVP - FrontPage
>
> http://www.Ecom-Data.com
> ==============================================
>
>
> "Bob" <(E-Mail Removed)> wrote in message
> news:CD0C95F4-2129-4F80-B981-(E-Mail Removed)...
> >I have a drop down box created from a database results wizard that selects
> > and displays the unique dates in a table. The user is asked to select a date
> > from that drop down box and that selection is submitted to another database
> > results wizard to produce a listing of items with that date in it.
> >
> > I would like to be able to permit the user to select any date by adding an
> > any value to the drop down box - is this possible?
> >
> > I can find instructions on how to create this type of wildcard search in
> > text and numeric fields, but nothing on date fields.

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      5th Apr 2007
You can place "Any" in your menu, but you then have to have a text field for the user to enter the
date, then in your code, if "Any" is submitted, then use the value for the text field instead of the
"Any" value in the drop drown.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Bob" <(E-Mail Removed)> wrote in message
news:7C4B2C3D-1F99-4AA3-8054-(E-Mail Removed)...
> Sorry, I didn't make myself clear. I would like to add in a wildcard value
> equivalent to % for text fields, the value would be labeled Any and would be
> placed in the drop down menu. What I have found is that the % only works for
> text fields and I have not be able to find the equivalent for Date fields.
>
> "Thomas A. Rowe" wrote:
>
>> Not possible to allow a user to add content to drop down menu. You would have to add a choice and
>> a
>> text field for the user to enter their option, then write custom code to process the submission.
>>
>> --
>> ==============================================
>> Thomas A. Rowe
>> Microsoft MVP - FrontPage
>>
>> http://www.Ecom-Data.com
>> ==============================================
>>
>>
>> "Bob" <(E-Mail Removed)> wrote in message
>> news:CD0C95F4-2129-4F80-B981-(E-Mail Removed)...
>> >I have a drop down box created from a database results wizard that selects
>> > and displays the unique dates in a table. The user is asked to select a date
>> > from that drop down box and that selection is submitted to another database
>> > results wizard to produce a listing of items with that date in it.
>> >
>> > I would like to be able to permit the user to select any date by adding an
>> > any value to the drop down box - is this possible?
>> >
>> > I can find instructions on how to create this type of wildcard search in
>> > text and numeric fields, but nothing on date fields.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make query ask for input, user selects item from drop down list. Rob F Microsoft Access Queries 0 1st Apr 2008 09:18 PM
All values item in a dropdown box for numeric field query chinkoh Microsoft Frontpage 0 24th Aug 2006 12:51 AM
Can't View Drop Down Field Values =?Utf-8?B?Tm9yQ2FsR2Fs?= Microsoft Word Document Management 4 16th Jun 2006 09:54 PM
how to CORRECTLY query ONE item against SEVERAL possible values =?Utf-8?B?Sk9KT1RFQ0s=?= Microsoft Access Queries 2 17th Mar 2005 08:07 PM
Re: Make drop down field item read only based on user of form? Max Beesley Microsoft Outlook Form Programming 3 10th Jul 2003 01:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 PM.