title: How to add a value to a lookup field in sharepoint?
body: <p>Hi I have two Lists in sharepoint 2007.
  I have a lookup column in on list which looks the other field.
  I want to use the sharepoint object model to add an item to the second list.
  How to i set the lookup field value. (The value is already in the other list).?</p>
  
  <pre><code>SPListItem Employee = web.Lists["Employee"].Items.Add();
  Employee["Name"] = account.Name;
  Employee["Department"] = &lt;lookup value must come here&gt;
  Employee.Update();                 
  </code></pre>