Load barcode information from CSV

I have a CSV the contain id, barcode, room_number and room_designation. i Have the following questions too

  1. Scan BarCODE .......................
  2. Enter room number .................
  3. Describe room ........................
    What I want is after you scan the barcode and it is in the CSV file it should load the following information into question 1, 2 and 3.
    My CSV file is called Data.
    When I used this code search('Data') under appearance and i scan the BarCODE it brings out that particular BarCODE number in the CSV file.
    How do I get it to bring out the values for room_number and room_designation