title: Setting the APP_USER as a value to be passed to target page in APEX
body: <p>I'm making a student management system on apex. The short of it is a place where lecturers and students can log on. Lecturers create assignments, assign them, mark them, take attendance, record issues ...... all that, and students log on to view their attendance and results.</p>
  
  <p>Now when a student clicks the "My Results" link it navigates to the same page that a lecturer sees, though the select list where a student is selected to view the results of is hidden. The select list displays the students name and returns the id for that student, which also happens to be the user name for a student to log in.</p>
  
  <p>So i want to pass the value of the app-user when a student clicks the link so that only their results are shown.</p>
  
  <p>I've tried to set</p>
  
  <pre><code>these items
  :P10_SELECT_STUDENT
  with these values
  #APP_USER#
  </code></pre>
  
  <p>which works but no the message "no data found" is shown.</p>
  
  <p>Just for testing i've set that select list to be displayed for a student, and when the page loads it loads with the <code>null</code> value at the top of the list which is</p>
  
  <pre><code>display value
  select a student
  return value
  -1
  </code></pre>
  
  <p>I've gone and manually set the value passed to be the id of the test student. works a treat, the data loads for that student!!</p>
  
  <p>So does anyone know why the #APP_USSER# value im sending isnt being set in the listbox</p>
  
  <p>Thanks in advance</p>