Displaying variable at top...

Results 1 to 2 of 2

Thread: Displaying variable at top...

  1. #1
    Join Date
    Dec 1969

    Default Displaying variable at top...

    Hi, I have a simple problem here. Let say I have an html table and inside that table is a simple Calendar. I need to create a variable (Dim count_days) to count the number of vacation days in the calendar. So, I loop through the calendar and use count_days = count_days +1 to increment the value everytime a vacation day is found. But I want to use response.write to display the vaiable at the top/before of the table instead of after the loop (Calendar), I wonder how I can do that?<BR><BR>Code:<BR><BR>response.write count_days (how can I display the value before the calendar??)<BR><BR>&#060;table&#062;<BR> Dim count_days<BR> &#060;!--Calendar--&#062;<BR> HTML and ASP codes.....<BR>&#060;/table&#062;<BR><BR>response.write count_days (this is easy to do)<BR><BR><BR>Thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Displaying variable at top...

    You could loop through before you create the calendar or you could just run a query to get the vacation days.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts