WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Recurring Entries

 
   Home -> Office other -> Table Design RSS
Next:  Table Design: Tab Controls/Subforms  
Author Message
Sandra P

External


Since: May 16, 2007
Posts: 8



(Msg. 1) Posted: Thu Jul 24, 2008 5:00 pm
Post subject: Recurring Entries Add to elertz
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

I am designing a scheduling database for a transportation company. They have
clients who they transport on a recurring basis, like every Mon, Wed & Fri
for instance. Everything about the transport is the same each time with the
exception of the date. Is there any way to make an appointment recurring so
it doesn't have to be data entered each and every time? I am in the design
stages of the DB so I can pretty much do anything necessary to accomplish
this.
Back to top
Login to vote
fredg

External


Since: Jan 30, 2004
Posts: 4476



(Msg. 2) Posted: Thu Jul 24, 2008 5:25 pm
Post subject: Re: Recurring Entries Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 24 Jul 2008 17:00:15 -0700, Sandra P wrote:

> I am designing a scheduling database for a transportation company. They have
> clients who they transport on a recurring basis, like every Mon, Wed & Fri
> for instance. Everything about the transport is the same each time with the
> exception of the date. Is there any way to make an appointment recurring so
> it doesn't have to be data entered each and every time? I am in the design
> stages of the DB so I can pretty much do anything necessary to accomplish
> this.

Let's assume the appointment schedule is from 8/1/2008 to 12/31/2009.
More dates can be added later when needed.

Add a record to the appointment table for each date in the above time
frame. I'll assume this has already been done.

You can use the Weekday() function to determine the weekday number,
Sunday being day 1. (This can be changed within the function if a
different day is day 1.)

Then...
You can run an Update query (after you have the table and fields set
up with all of the dates, etc.).

Update YourTable Set YourTable.AppointmentWith = "ABC Delivery" Where
WeekDay(YourTable.DateField) In (2,4,6)

So, if the date is a Monday, Wednesday, or Friday, the AppointmentWith
field will show "ABC Delivery".

Save the query to re-use when additional dates are added.

Of course you could use VBA to fill the table with all the dates, and
at the same time also fill the AppointmentWith field. But that would
be a separate post.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Back to top
Login to vote
Allen Browne

External


Since: Nov 08, 2003
Posts: 9173



(Msg. 3) Posted: Fri Jul 25, 2008 3:00 am
Post subject: Re: Recurring Entries Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

See:
Recurring events
at:
http://allenbrowne.com/AppRecur.html

The article includes a sample database that shows how to record one entry
and have the database calculate the recurrences. It also illustrates how to
handle particular instances of a recurring sequence differently (where an
instance is to be skipped or rescheduled.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Sandra P" <SandraP RemoveThis @discussions.microsoft.com> wrote in message
news:2EEF0D97-B2E4-4260-B35B-13F13D4F2CCC@microsoft.com...
>I am designing a scheduling database for a transportation company. They
>have
> clients who they transport on a recurring basis, like every Mon, Wed & Fri
> for instance. Everything about the transport is the same each time with
> the
> exception of the date. Is there any way to make an appointment recurring
> so
> it doesn't have to be data entered each and every time? I am in the
> design
> stages of the DB so I can pretty much do anything necessary to accomplish
> this.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET