How do I report only checked fields in Gravity Forms? - gravity-forms-plugin

Say I have list of 50 checkboxes in a field. I limit responses to 3.
Ex:
Apple = AP
Orange = OR
Pear = PE
etc.
How can I tell Gravity Forms to report only the checked boxes, like so:
First Choice: PE
Second Choice: AP
Third Choice:
It this possible through filters or or via the Gravity Forms API?

Related

How to create "Go To Next" record button in Access Form that references an alternate form

In my Access dB, I have a Form ("frmSearch") with a Subform ("subFrmData") that references a query ("qryDynamicData").
The Main Form has 6 drop downs that filter the data table in the Subform. The combo boxes are cascading so that once you select one, the entries that appear in the remaining combo boxes are only those entries in the query that correlate to the first selection. The goal is to keep making the data in the Subform data table shorter and shorter. Here are the fields in the combo boxes:
Region
Account Executive
Manager
Engineer
Stage
Project Number ("ProjectSLCT")
When the user filters down to where the list of projects they are looking at is small enough, they use the final combo box ("Project Number") to select an entry from the table. Doing this brings up another form ("MPC_ProjectNotes") as a pop-up form where they can keep track of project specifics. The event looks like this:
DoCmd.OpenForm "MPC_ProjectNotes", , , "Project_Number= '" & Me.ProjectSLCT.Value & "'"
I want to create a Next Record button on the "MPC_ProjectNotes" form that would in effect allow them to run through the steps of selecting the next item in the ProjectSLCT dropdown and thereby relaunching the MPC_ProjectNotes form with the next item from the combo box (and from the datasheet in "subFrmData") without having to close the MPC_ProjectNotes form and adjust the combo box.
Any thoughts? I don't really even know what to google to get myself pointed in the right direction on this. It seems "Next Buttons" aren't generally setup to work across forms.
Ok, here is what I would suggest:
In place of launching form MPC_ProjectNotes to ONE reocrd?
Why not launch the form with the SAME criteria and list as your combo box ProjectSLCT.
Now, we would of course land in the first reocrd of ProjectSLCT. but that's probably ok!
Now say if ProjectSLCT was NOT on the first record? Then we would simple have to add one extra step: move the form to the right record.
So, the logic is this:
Launch the 2nd form to the same "list" as the combo box.
Move the 2nd form to the SAME item currently selected in the combo box.
Now, you don't even have to write a next/previous button, but can simple display the built in navigation buttons. Since the form is LIMITED to the same list, then regular navigation in that form will work and work without you having to write any code!
So someplace in your first form, you EVENTUALLY wind up with this:
combobox data source = select * from tblWhoKnows where (CRITERA GOES HERE!!!).
So, now we simple launch the 2nd form with this:
DoCmd.OpenForm "MPC_ProjectNotes", , , (CRITERA GOES HERE!!!)
Now the form is loaded with the SAME list. We just this extra line of code to move/jump the form to the current selected row in the combo.
forms("MPC_ProjectNotes").RecordSet.FindFirst "Project_Number= '" & Me.ProjectSLCT.Value & "'"
So we open the form to the "list", and then jump to the corrent combo box selected. The result is a form that you can navagate teh combo list, but we jump/started out on the same combox selected item from that list in the form.
So the code will look something like this:
DoCmd.OpenForm "MPC_ProjectNotes", , , (CRITERA GOES HERE!!!)
Forms("MPC_ProjectNotes").RecordSet.FindFirst "Project_Number= '" & Me.ProjectSLCT.Value & "'"
You will of course "change" the above "CRITERA" to the SAME criteria you used in your code to fill out the last combo box.

SSRS - Adding several tables in one report with different parameters

I am developing a SSRS report for the first time from scratch.
I need to develop 3 reports (Ex: R1,R2,R3) in one main report. But the 3 reports have different parameters.
Is it possible to do so in one report such that, if R1 requires parameter P1 and R2 requires parameter P3 and P4 but when R2 is displayed P1 shouldn't be visible and vice versa.
You can toggle the visibility of each report based on the values of the parameters.
Right-click Properties>Visibility>Show or Hide based on an expression
And the expression would look something like this (I don't know what your parameters or values look like)
=iif(Parameters!parameter_name.Value = value, True, False)
True = Hidden, False = Show report

Can someone explain how to select Multiple Values from an Access 2016 Combo box Control

I have a combo box control on a form that allows me to choose one option only from a list of options.
I would like to be able to choose multiple options from this list(similar to how a drop down menu works on an access table field)
I know it is possible from a list box but this takes up a lot of room on my form because the list box must stay open.
It says in this article https://support.office.com/en-us/article/Use-a-list-that-stores-multiple-values-c8d15127-3641-45fc-aa2d-a3943d355e89 that its possible but I cannot get it to work. The article describes how it works under this heading "Understand the technology behind check-box drop-down lists and check box lists".
I use 2007, not 2016. Is multiselect combox something new? I haven't played with them yet.
Use right-click to change it to a List Box. Microsoft Access > Design Form > List Box. Property Sheet > Other tab > Multi Select = Extended. List0.ListCount = quantity of rows in listbox (read only)
List0.ItemData(0) = value of bound column in first row (read only).
List0.Column(0, 1) = value of first column in second row (read only).
List0.Column(1, List0 - 1) = value of second column in selected row (read only).
List0.RowSource = "Hello; World" (write only).

How to put form fields into FieldGroup's using userforms module

I'd like to do a customised layout for a form which involves putting form fields into a number of FieldGroup's. The end goal is to let the user add fields to the form, and for each field they can choose which group it will appear in (eg the wide section of the form at the top, or the left or right lower sections of the form which are split into 2 columns).
Is it possible to extend the userforms module to achieve this, and how might it be done?
Take a look at the fork I have made to Userforms, This will allow you to assign formfields to columns and have them sit side by side.
https://github.com/helenclarko/silverstripe-userforms
You may be able to edit the EditableCompositeField to add the additions you are after.

Access 2013 - Embedded query filtered by combo box on form

I'm new to Access and this is the problem I'm suffering: I have four tables - Task, Person, Role, and TaskPerson (mapping table). I have a form that at the top has a unbound combo box displaying a list of people from Person. In the body of the form I have a query pulling from the Task and TaskPerson tables that is embedded as a datasheet. The fields from TaskPerson perform a lookup on Person and Role to display the actual values. Each task can have multiple people assigned to it and each person can have multiple roles. I am looking to pick a name from the combo box with the datasheet updating to only show the tasks associated with that person (i.e. matching the name from the combo box to the name in the person field (which is a lookup) on the form and only showing those tasks).
I have tried adjusting the Record Source for the query so the person field criteria would pull from the combo box using
'Forms![Task Form]![Combo11]'
but that hasn't worked. I have also tried a version of this answer:
Private Sub Form_SelectionChange()
' If the combo box is cleared, clear the form filter.
If Nz(Form) = "" Then
Me.Form.Filter = ""
Me.FilterOn = False
' If a combo box item is selected, filter for an exact match.
' Use the ListIndex property to check if the value is an item in the list.
ElseIf Me.Combo11.ListIndex <> -1 Then
Me.Form.Filter = "[Combo11] = '" & _
Replace(Me.Combo11.Text, "'", "''") & "'"
Me.FilterOn = True
End If
End Sub
While the code is not balking, it also isn't grabbing the selected name from the combo box, so it doesn't update. A likely factor is when I type Me.Combo11.Text, it doesn't actually display Combo11 as an option. I tried typing it in, in hopes of working, but I know that is a bit foolish.
Any detailed answers would be appreciated. I'm still learning my way around and I get lost a bit easily.
Steve.
The first method is the easier one.
In the query you have
WHERE TaskPerson = Forms![Task Form]![Combo11]
Note that there are no ' around the combo reference. With 'Forms![Task Form]![Combo11]' the whole thing is interpreted as string, so it doesn't work.
Then in Combo11_AfterUpdate you simply have
Me.Requery
Disadvantage of this method: you always have to select a person, or the form will be empty.
The second method:
Your query lists all record, the combobox applies a filter. Or removes it, if the user clears the combobox.
I suggest going back to the answer you used, and only replace
Combo_Reported_LOB_Selection by Combo11
and
[ReportedLOB] by [TaskPerson]
And the code doesn't go into Form_SelectionChange(), but into Combo11_AfterUpdate()