Linking the main fields of the sub form correctly
Posted: Fri Oct 20, 2017 3:08 pm
Hi,
I have made a form to view data form database, which have one sub form. I also have added list box and button with action "Refresh form". So the form should operate like this: when I choose a value from listbox and refresh the form, it only shows the records in the subform which have the chosen attribute.
Currently the sub form shows the table that is linked to it just fine, but when I link the same attributes from two different tables (i.e main fields that has different tables but same attribute), the sub form now only shows the value that is in the list box and other columns are just blank. There is also one row.
So what I want is that sub form shows all the values that has the same value as the list box selection in the sub form.
I have made a form to view data form database, which have one sub form. I also have added list box and button with action "Refresh form". So the form should operate like this: when I choose a value from listbox and refresh the form, it only shows the records in the subform which have the chosen attribute.
Currently the sub form shows the table that is linked to it just fine, but when I link the same attributes from two different tables (i.e main fields that has different tables but same attribute), the sub form now only shows the value that is in the list box and other columns are just blank. There is also one row.
So what I want is that sub form shows all the values that has the same value as the list box selection in the sub form.