I im doing a program to make a church management for my final year project of school, I have divide all the families that belong to the parish, and in each family there's several members (dad,mother,son,daughter,etc), I have the families divided my cods(famaly1,famaly2,famaly3) and also each family have a surname eg (Smith,Jones,Jackson)
now i know who ever uses the program will not know all the cods for all the family´s and i bet that the family's will not memorize there family cod so i want to make the search mode this way:
if the person search for the family cod then they will see
if the person searchs for the family surname they will see
now what i want to know its how i can program the list box? because when i double click on the list box when coding i can only program what happens when the user clicks on the list box and i cant program what will happen when the user clicks on the surname
thnx for any help