Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Automatic entry of mondays date every week in table

Discussion in 'Information Technology' started by Middlemix, Nov 19, 2005.

  1. Middlemix

    Middlemix
    Expand Collapse
    Guest

    Hi, please be gentle as this is my first post.

    I have DATES-TABLE with fields FROM DATE and TO DATE, every Monday the user
    goes in and puts The Mondays date in the from field and Sundays date in the
    TO DATE field. Is there a simple solution in that every monday morning those
    2 dates are automaticaly updated?

    Thanks
     
  2. Loading...

    Similar Threads Forum Date
    My last entry Blogs Oct 16, 2015
    UK 80-year-old Sikh Pensioner Kicked, Punched & Spit Upon by Woman in Coventry UK Breaking News Aug 17, 2013
    India ‘No one should be denied entry in gurdwaras’ Breaking News Jun 14, 2012
    UK Sikh Cricket Fan Denied Entry in Lord's Breaking News Jul 26, 2011
    SciTech Facebook May 'block content' Claim as Speculation Grows over Entry into China Breaking News May 4, 2011

  3. RuralGuy

    RuralGuy
    Expand Collapse
    Guest

    If it helps here's code to create the Monday and Sunday date for the week with
    the current Date()

    Me.txtSundayDate = Date() + (7 - DatePart("w", Date(), 2, 1))
    Me.txtMondayDate = DateAdd("d", -6, Me.txtSundayDate)

    On Sat, 19 Nov 2005 02:38:05 -0800, Middlemix
    <Middlemix@discussions.microsoft.com> wrote:

    >Hi, please be gentle as this is my first post.
    >
    >I have DATES-TABLE with fields FROM DATE and TO DATE, every Monday the user
    >goes in and puts The Mondays date in the from field and Sundays date in the
    >TO DATE field. Is there a simple solution in that every monday morning those
    >2 dates are automaticaly updated?
    >
    >Thanks

    _______________________________________________
    hth - RuralGuy (RG for short)
    Please post to the NewsGroup so all may benefit.
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page