Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228

    Ideas on managing appointments

    On the database I'm able to add an outlook calendar appointment though some VBA. Specifically I'm using this code:



    And I can also create a linked table in the DB which I can delete these appointments from. What I would like is for the appointment information to be linked somehow. On the linked table there is no PK field so i have no idea how I can link this to any data I have once it’s there.

    Ultimately if a job is canceled I want the user to find that job in the DB and cancel it and it is removed. So, a link to the created appointment is important.

    The following picture is the details of the linked table I was wondering if its possible to add a field and link it to the ID of the table im using to import these appointmets.

    Or prehaps manipulate an existing field there to do the same role. For example the subject field could be used to import the ID then the database could use this information to handle the two tables.


    Click image for larger version. 

Name:	Screenshot_16.png 
Views:	24 
Size:	13.2 KB 
ID:	24029

    all thoughts appreciated.

  2. #2
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    theoreticly it would seem possible. i haven't done this code yet but if i'm understanding it correctly i would assume that if you added a autonumber PK to the table, then upon saving the record you captured that PK and saved it as a FK in the second thus creating a possibility for a cascading delete? just a thought, maybe someone will be more familiar with this situation.

  3. #3
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    I'm working on another solution where by all appointments are added using the "site name", "project name", "number of visits". Which actually brings me to an entirely different problem.

    Using this method will create unique "subject" names for each appointment. I can then use a query to search for names matching that in the linked table.

    New thread here for that problem:

    https://www.accessforums.net/showthr...583#post313583

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

Similar Threads

  1. MSAccess Appointments to MSOutlook
    By foxtrot in forum Access
    Replies: 0
    Last Post: 07-26-2012, 09:39 AM
  2. Reminders/Appointments/logins etc.
    By timbo in forum Programming
    Replies: 1
    Last Post: 01-08-2012, 10:45 AM
  3. Exchange calendar appointments
    By avarusbrightfyre in forum Import/Export Data
    Replies: 1
    Last Post: 10-31-2011, 12:15 PM
  4. scheduling appointments
    By mikejames in forum Programming
    Replies: 1
    Last Post: 09-30-2011, 04:45 PM
  5. Calculating Max appointments
    By ET123 in forum Access
    Replies: 2
    Last Post: 07-24-2010, 07:32 AM

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