hello,
program is ment to take details from a combo box, then from the selection made in the combo box, show details that come from a table in a list box on same form. then from that list box the user picks which record he wants displayed and it populates 4 text fields with relevant record's details.
i have the combo box populated with machine name's from a table. (pss1, pss2,pss3 etc)
i have the list box populated with the date from another table (fields in this table consist of date, comments, updates performed, config change, log entry)
my problem is this: how do i click on the machine name from the combo box and have it display the relevant data from the Date field in the list box? im guessing its an OnClick event, but my vb skills are limited. it needs to find all records relating to pss1 for example and show the relevant data from date field in that list box. then another OnClick event from the list box, when they click a date, it takes the other 4 fields data and puts it into 4 seperate text box's.
i know this isn't hard but im lost as to how to proceed.
Thank You for any guidance.
example of how it looks
machine name(combo box): pss1, pss2, pss3 etc
date of maintenance (list box): 22/05/05, 02/06/05, 03/07/05
comments(text box): whatever it is from the record
updates performed (text box): whatever it is from the record
config change(text box): whatever it is from the record
log entry(text box): whatever it is from the record

program is ment to take details from a combo box, then from the selection made in the combo box, show details that come from a table in a list box on same form. then from that list box the user picks which record he wants displayed and it populates 4 text fields with relevant record's details.
i have the combo box populated with machine name's from a table. (pss1, pss2,pss3 etc)
i have the list box populated with the date from another table (fields in this table consist of date, comments, updates performed, config change, log entry)
my problem is this: how do i click on the machine name from the combo box and have it display the relevant data from the Date field in the list box? im guessing its an OnClick event, but my vb skills are limited. it needs to find all records relating to pss1 for example and show the relevant data from date field in that list box. then another OnClick event from the list box, when they click a date, it takes the other 4 fields data and puts it into 4 seperate text box's.
i know this isn't hard but im lost as to how to proceed.
Thank You for any guidance.
example of how it looks
machine name(combo box): pss1, pss2, pss3 etc
date of maintenance (list box): 22/05/05, 02/06/05, 03/07/05
comments(text box): whatever it is from the record
updates performed (text box): whatever it is from the record
config change(text box): whatever it is from the record
log entry(text box): whatever it is from the record
