<% Response.Expires=-1442 'Force page to refresh whenever requested%> Observation Request <% Dim Filters(13) Dim blnNew Dim blnCopy ' detect whether the user is adding a new item, editing an existing one, or copying an example If Request.QueryString("Action") = "" Then blnNew = True blnCopy = False Else Select Case Request.QueryString("Action") Case "AddNew" blnNew = True blnCopy = False Case "Edit" blnNew = False blnCopy = False Case "Copy" blnNew = False blnCopy = True End Select End If If blnNew Then Response.Write _ "

New Observation Request

" & _ "

by " & Session("username") & "

" & _ "

Please complete the following observation request form and click the Save button below. " & _ "

To see examples of the kinds of observations possible, visit the Examples page." & _ "

For typical settings, click on Browse Examples and select from the list of example requests." Else If Not blnCopy Then Response.Write _ "

Edit Observation Request

" & _ "

by " & Session("username") & "

" & _ "

Please edit your request and click the Update button below. " Else If Session("userID") <> "" Then Response.Write "

Copy Example

" & _ "

to " & Session("username") & "'s list of requests

" & _ "

Make any changes if you like, and copy this example as a new request. " Else Response.Write "

Example

" & _ "Note: to copy this example or modify it, you must first " & _ "register and then log in." End If End If Dim rsObs Set rsObs = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT * FROM tblObservations WHERE ObsID = " & Request("Obs") & ";" rsObs.Open strSQL, objConn, adOpenForwardOnly, adLockOptimistic, adCmdText End If %>

<% If blnNew Then %> <% Else %> "> "> "> "> "> "> "> "> "> "> "> <% End If Select Case Request.QueryString("Action") Case "AddNew" %> <% Case "Edit" %> <% Case "Copy" %> <% End Select %> <%End If%>
Project title " size="45" maxlength="50">
Object name " size="45" maxlength="50">
Description
Coordinates value="Yes">Catalog position (We will look up the coordinates for you)
value="No">Manual (Enter the coordinates yourself)
Right Ascension " maxlength="12"> h:m:s
Declination " maxlength="12"> d:m:s
Epoch " maxlength="4">
 
Start time value="Yes">Pacific date   " maxlength="12">  time " maxlength="8"> PT
  (PST = UT - 8 hrs; PDT=UT - 7 hrs)
value="No">Universal date " maxlength="12">  time " maxlength="8"> UT
Exposures " maxlength="3"> exposures, separated by an interval of " size="5" maxlength="4">
Sequence 1. Object " size="11" maxlength="20"> for " size="4" maxlength="4"> seconds using filter
2. Object " size="11" maxlength="20"> for " size="4" maxlength="4"> seconds using filter
3. Object " size="11" maxlength="20"> for " size="4" maxlength="4"> seconds using filter
4. Object " size="11" maxlength="20"> for " size="4" maxlength="4"> seconds using filter
5. Object " size="11" maxlength="20"> for " size="4" maxlength="4"> seconds using filter
User Comments
Operator Comments

<% If Session("userID") <> "" Then If Not blnNew and Not blnCopy Then 'there is an existing record If Session("userID") = 1 Or rsObs("Type") > 1 Then 'either current user is admin, or record is NOT one of the examples %> <% End If End If %>         

 Notes

bullet The list of filters shown here is only a partial list. For a complete list of filters, including the optical characteristics of each go to the MRO User's Manual.
bulletIf you choose to enter the RA and Dec coordinates yourself, be sure include the correct Epoch (i.e., the year for which those coordinates are valid).

Home Up Browse Examples New Observation Request <%If Session("userID") <> "" Then%>Edit Registration Info<%Else%>Register<%End If%>