I'm sure this is simple, however, I'm new to asp. Could someone give me a brief overview of what's needed to display columns on a screen.
I have an app, I'm supporting. It displays information from a search in a report type style. I want to update the report by moving some of the columns around. However, if I move the code, the columns stay the same.
COL1 | COL2 | COL3 is the current mode
COL2 | COL1 | COL3 is what I want it to display.
I have asp called search_results_header.asp and search_results_row.asp and even though I moved the information in both, it shows up in the same fashion.
I don't even know where to look for my issue.
HELP!!!
OHH sample code:
from the Header page
<!--- Title: Empty (Add Note) --->
Code:
<% IF trim(session("user_type")) = "3" OR trim(session("user_type")) = "2" OR trim(session("user_type")) = "1" OR trim(session("user_type")) = "12" then%>
<%if report_type = "search_results_export" OR report_type = "accounting_pull_export" OR report_type = "poc_export" OR report_type = "poc_pull_export" then
act.WriteLine("<th width='70' bgcolor='silver' class='rowheader' align='center' nowrap>Update</th>")
else%>
<th class="rowheader" align="center">Add Note</th>
<% end if %>
<%end if%>
From the row code:
<!--- Output: Add Note --->
Code:
<%if report_type = "search_results_export" OR report_type = "accounting_pull_export" OR report_type = "poc_export" OR report_type = "poc_pull_export" then
else%>
<td align="center" class="smalltext"><a href="project_details.asp?mode=editprj&form=edit&wstep=8&db_project_id=<%=trim(rsProjects("db_project_id"))%>" onclick="NewWindow(this.href,'Modify','750','550','yes');re turn false;"><IMG SRC="images/ico_note.gif" BORDER="0" ALT="Add Note" title="Add Note" style="padding-bottom: 2px;"></a></td>
<%end if%>