Results 1 to 6 of 6
  1. #1
    athanas-jifunze is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2017
    Posts
    8

    Creating a form field which will populate the information automatically

    Hello team, I am new in access industry. I have developed a database for recording Teachers Trainings on Continuous Professional Development (CPD). I want to track the continuation of teachers attending the training (in a year each teacher need to attend three trainings to complete the module/course) In my form I have the field for appearance ( i.e. First, Second, Third, Fourth ...) I want these First, Second and so on to be populated automatically when a Participant/ Trainee is recorded. And when the Participant/Trainee come for the second time (Second) to be updated when I updated other fields.




    Please I ask fro your help or guidance on this.


    Thank you in advance

  2. #2
    AccessPower's Avatar
    AccessPower is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Posts
    165
    When you record the Trainee, is it always the same day they take the course? So if they're training today, would you input them today?

  3. #3
    athanas-jifunze is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2017
    Posts
    8
    No The training can happen today but the data get entered later, say a week after, and the second training happen after three months from the first one

  4. #4
    AccessPower's Avatar
    AccessPower is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Posts
    165
    So when you record a Trainee, do you input their instructor? If so, you can use vba on the AfterUpdate event where you would input the instructor. Have it loop through the instructor training fields (first, second, third, fourth) and find the first empty one. Then have it write the current date into that field. Or perhaps the training date for the trainee on the form.

  5. #5
    athanas-jifunze is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2017
    Posts
    8
    Quote Originally Posted by AccessPower View Post
    So when you record a Trainee, do you input their instructor? If so, you can use vba on the AfterUpdate event where you would input the instructor. Have it loop through the instructor training fields (first, second, third, fourth) and find the first empty one. Then have it write the current date into that field. Or perhaps the training date for the trainee on the form.
    Sorry I am not clear when you say instructor you mean a Trainer? Can I share with the database so that you get a clear picture of what I mean, may be am not describing it correctly

    Thank you in advance

  6. #6
    AccessPower's Avatar
    AccessPower is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Posts
    165
    Please feel free to zip your database and upload it here. People will have a better idea of what's going on.

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

Similar Threads

  1. Replies: 8
    Last Post: 03-15-2016, 02:35 PM
  2. Replies: 5
    Last Post: 03-15-2016, 11:49 AM
  3. Automatically populate information
    By Blindability in forum Access
    Replies: 4
    Last Post: 12-14-2015, 12:27 PM
  4. Replies: 5
    Last Post: 07-02-2015, 10:49 AM
  5. Replies: 21
    Last Post: 08-29-2013, 11:08 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