Search for ALL records in a form

iamtrangdoan

New Member
Joined
Apr 18, 2019
Messages
1
Hi everyone,

I've been looking all over the internet to get my form displayed all records when a selection is made from a Combo Box, however, I haven't found the solution.

Below is the table "tblCap_NDT" which I used to create form "frmCap_NDT":

Company NameNDT
ARadiographic
BFPI
BRadiographic
DUltrasonic
DRadiographic
DFPI
DMPI
EMPI
EFPI
ERadiographic
FRadiographic

<tbody>
</tbody>


I created a Combo Box in the form header from the "NDT" column and set it to display only unique values. Then I dropped the "Company Name" field to the Detail section of the form. However, the combo box didn't seem to be able to search for all records, rather it couldn't search for anything at all.

My aim is search for all Company Names when a NDT value from the Combo Box is selected.

For example, if FPI was selected, the result would count and return B, D, and E (Like 1.B 2.D 3.E)

I tried to create a subform in the Detail section as well but that didn't work. It seemed to return the first value correctly, however, the rest of the results were all the same as the first. For example, when I selected Ultrasonic, instead of getting only D, I got 4 Ds which I assumed to be all the D left in the table (and certainly they didn't match with the search key "Ultrasonic").

Can anyone shed me some light on this please? This is driving me crazy since I have no experience in programming or Access. Thank you very much in advance!
 

Some videos you may like

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Watch MrExcel Video

Forum statistics

Threads
1,095,711
Messages
5,446,094
Members
405,379
Latest member
EDGOUG

This Week's Hot Topics

Top