Results 1 to 2 of 2
  1. #1
    Nixx1401 is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Location
    Barbados
    Posts
    115

    checking availale dates and times

    I have a datasheet view form which records visit appointments for inmates. The form has the following fields Date - Date in with the visit form was recorded in the system


    Inmate Number
    Inmate Name
    Invitee Names - an invitee is a person who can accompany a contact on a
    visit
    Contact Person - the person who the visit is posted to
    Date of Appointment - perspective date of appointment. this is done via tele
    Time of Appointment - perspective time of appointment.

    Is there a way when the date and time is input that checks to verify that this time at that particular day is available and it has not been booked already

    My Tables are Inmate Info, Contact, Invitee, and transaction

    Inmate Info records the inmate information
    Contact table records the contact information
    Invitee table records the names of the invitee and the appt time and date
    Transaction table records the information from the visit form

  2. #2
    Stingaway is offline Efficiency Junkie
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    The deep south. Keep going until you hit water basically.
    Posts
    224
    Yes, but you are going to need to clarify your tables a bit to identify which one actually houses the data that tells what records are already booked and which one is housing the data that is being requested.

    If you are comparing data for example from the Invitee table with data from what I would call an appointment request table, then you could use a select query to say if the date and time from the invitee table exist, return a "Nope, you can't do it then" or if it does not exist return a "Yeah man, come on in, the water's fine" or something similar.

    It sounds to me that you may need some work on the actual table definition though.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 10
    Last Post: 11-16-2011, 10:58 AM
  2. Replies: 2
    Last Post: 12-07-2010, 08:27 AM
  3. Mixed dates - show only complete dates?
    By weeblesue in forum Queries
    Replies: 3
    Last Post: 10-27-2010, 02:15 PM
  4. Checking a table for changes
    By Rando in forum Queries
    Replies: 2
    Last Post: 10-07-2010, 09:25 AM
  5. Checking for Value in Query
    By jgelpi in forum Access
    Replies: 1
    Last Post: 06-24-2009, 04:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums