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

Double Booking



 
 
Thread Tools Display Modes
  #1  
Old October 2nd, 2008, 11:55 AM posted to microsoft.public.access.tablesdbdesign
Chester1
external usenet poster
 
Posts: 12
Default Double Booking

Hi

I am trying to avoid being able to do double bookings in a form. I have a
combo box holding 3 options eg AM PM All Day. Based on the date of the
booking if it is ALL Day then I would like the combo box to be blank if PM is
booked on a particular date then I would like only AM to be available. I
hope this makes sense and that someone can give me Basic! instruction on how
to do this.
--
Regards Clair
  #2  
Old October 2nd, 2008, 08:07 PM posted to microsoft.public.access.tablesdbdesign
Noëlla Gabriël
external usenet poster
 
Posts: 79
Default Double Booking

Hi Chester,

if you really want to avoid double bookins I thing creating an unique index
on the combination of fields that should remain unique is the easiest way.
--
Kind regards
Noëlla


"Chester1" wrote:

Hi

I am trying to avoid being able to do double bookings in a form. I have a
combo box holding 3 options eg AM PM All Day. Based on the date of the
booking if it is ALL Day then I would like the combo box to be blank if PM is
booked on a particular date then I would like only AM to be available. I
hope this makes sense and that someone can give me Basic! instruction on how
to do this.
--
Regards Clair

  #3  
Old October 2nd, 2008, 10:28 PM posted to microsoft.public.access.tablesdbdesign
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default Double Booking

See whether what Allen Browne has at
http://www.allenbrowne.com/appevent.html helps.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Chester1" wrote in message
news
Hi

I am trying to avoid being able to do double bookings in a form. I have a
combo box holding 3 options eg AM PM All Day. Based on the date of the
booking if it is ALL Day then I would like the combo box to be blank if PM
is
booked on a particular date then I would like only AM to be available. I
hope this makes sense and that someone can give me Basic! instruction on
how
to do this.
--
Regards Clair



 




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:53 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.