Application Variable

Results 1 to 2 of 2

Thread: Application Variable

  1. #1
    Join Date
    Dec 1969

    Default Application Variable

    Hi,<BR><BR>tstr = "&#060;td bgcolor=#e7e7d6 align=right&#062;"& rstopics("value")<BR>response.write tstr<BR><BR>The value of rstopics("value") is an ASP Application variable itself, ie the value will be Application("activeusers").<BR><BR>i want the value of Application("activeusers"), say a numeral, to be printed instead of "Application("activeusers")" the string. <BR><BR>Any pointers will be appreciated.<BR><BR>Thanks in advance!!!<BR>

  2. #2
    Reneg Guest

    Default RE: Application Variable

    I am a little bit confused by this<BR><BR>rstopics("value") is a recordset element and so cannot be <BR>an application variable- you are calling the field "value" from the recordset rstopics at the row you are on.<BR><BR>if you want to write the value of an appication variable as above try<BR>tstr = "&#060;td bgcolor=#e7e7d6 align=right&#062;" & Application("activeusers") & "&#060;/td&#062;"<BR><BR>response.write tstr<BR><BR><BR>where Application("activeusers") is a predefined application variable<BR><BR>thanks<BR><BR><BR><BR><BR>

Posting Permissions

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