Dynamic dropdown selection in desktop application based on condition

Bill trans id is Drop down. By default value will be none. We need to check that values exist & select