Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with DateAdd function

Status
Not open for further replies.

miltie

Technical User
Nov 4, 2002
15
US
Hello. I'm not sure of the best way to set this up, but I have a table with a document_name field and a due_date field. Here's my dilemma: I want to have a form that I can input a document name in a text box and have a drop down with a weekday listed. Then after the user selects the due date, i.e., Friday, have my table populated with records with the same document name but show a due date of every Friday in 2012. So there would be roughly 48 records in my table added. I'm assuming I can use the dateadd function for my drop down box? Any help would be greatly appreciated.
 
I think a more fundamental question is do you just want to report that it is due on Fridays or do you want to create he records for all Fridays? I ask because there are completely different considerations to each.

In any case, some samples like Duane suggest will be helpful.
 
To select a date I like to provide my users with a little bling. I didn't write this but it works well to select dates. This may be a good starting point >> see the attachment

HTH << MaZeWorX >> "I have not failed I have only found ten thousand ways that don't work" <<Edison>>
 
 http://www.mediafire.com/?3vf12nvddck271g
How are ya miltie . . .
I'm stuck in the followimg quote:
miltie said:
[blue]I want to have a form that I can input a document name in a text box and have a drop down with a weekday listed.[/blue]
You need to expand on this! ... I have no idea what you mean ...

Understand ... we don't know whats in your head ... nor can we see what you see!

[blue]Your Thoughts? . . .[/blue]


See Ya! . . . . . .

Be sure to see faq219-2884 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top