Forum Discussion

ChyanneEyde's avatar
ChyanneEyde
Qrew Trainee
5 years ago

Use an embedded form to take attendance

Hello! I'm looking for a way to allow my users to "take attendance" after they host large events. 

I currently have a working solution for small events*, BUT I really want to provide an easy way to track participation in very large events (60-100 employees attend). Desired result: A user selects the company relevant to the event and then a list of the company's employees generates. Every employee has a checkbox and it can be checked to say the person attended. (Ideally, the check boxes default to checked and can be unchecked.) A QB Action "fires" to create a separate record for every individual attendee. 

Current status: Right now, I've added an embedded report to my form to generate the list of employees who are possible event attendees. I also have the checkbox (it's just a field in the Employees table). The tricky part is that I haven't figured out a way to translate that filled checkbox into confirmation of event attendance. I've played around with formula fields in the Employee table and some QB actions, but I think the fact that the checkbox is on the Employee table, not the Event table is getting in the way. 

Perhaps someone has an example of something similar, or has a suggestion for recording large-scale attendance in a different way. I've done a lot of web searching and am very open to suggestions! 

*My working solution for small events: Users complete a "new event" form to report that they've had an event, with an option to choose individual attendees from conditional drop downs. ("Attendee 1" drop down, "Attendee 2" drop down.. etc, with just employees from one company as options to choose). I then have a series of QB actions set up that "fire" to generate a separate record for every event attendee. These separate records allow us to keep track of individual participation in events. For small events (less than 20) this works great.

------------------------------
Chyanne Eyde
------------------------------
  • I can describe how I would solve the issue,  but it might take an 90 minutes  of consulting time to get this set up to work slickly on your app.   Or we can work towards a solution on this forum slowly.

    I would set up a table called User Focus with a key field of User. Set the field as userid.  Create a field for the Record ID# of the Focus event.  Create a checkbox formula field called [User Exists?] with a formula of true.

    Create a relationship where One User Focus has many Events based on a reference field of formula user with a formula of User().

    Create a relationship where One User Focus has many Employees based on a reference field of formula user with a formula of User().

    The user will launch off an Event and the formula URL will add or edit the user in the User Focus user table to record the [Record ID# of the Focus Event].  The [Record ID# of the Focus Event] will then be lookup done to Employees.  The user will be landed on a report of employees for the same company as the Event.

    The workflow will then be for the user to click any Employees who attended.  The formula URL button will create an Event Attendees child record  and then optionally it can set up to have a quiet popup saying that the employee has been added, or else refresh the report to only show employees remaining who did not attend the Focus Event.   Once the user is finished clicking, then they would click a link to get back to the Event record and see all the children Event Attendees Created.

    The employee list could either be filtered to just show the non attendees, or else colour code / sort  who attended and did not attend so far, for the Focus Event.

    This "User Focus" technique can be useful elsewhere in your development work, so it could be worth it to your organization to have a working session to get it implemented.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • ChyanneEyde's avatar
      ChyanneEyde
      Qrew Trainee
      Thanks very much for your response, Mark! I came up with a solution last night that goes down a similar path as what you've described, but your outline is very helpful! Thank you!
      • GerardoChacon's avatar
        GerardoChacon
        Qrew Member

        Hi Chyanne, It's been a while since your post but I wonder if you could show me how you solved this. I have a very similar attendance situation.



        ------------------------------
        Gerardo Chacon
        ------------------------------