Announcement

Collapse
No announcement yet.

[ASP] Event List

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [ASP] Event List

    Simple ASP page that lists HS events and the date that they last ran.
    -sorting by date, name, group
    -clicking group name opens events page for that group
    -clicking event name opens the edit event page for that event

    Discussion thread is here.

    jim

    1-25-2009 initial upload
    1-25-2009 v1.01 fixed call to GetPageHeader (thanks for pointing it out, Jon)
    1-25-2009 v1.02 increased length of name & group fields
    Attached Files
    Last edited by jsteed; January 25, 2009, 11:43 PM.

    #2
    Jim,

    Nice work!

    Just to let you know there is a very small bug which causes a javascript error warning triangle on IE due to a missing parameter in hs.GetPageHeader.

    Just change:

    s.Add hs.GetPageHeader ("Device Extended View","",False,False,False,False,False)

    To

    s.Add hs.GetPageHeader ("Device Extended View","","",False,False,False,False,False)
    Jon

    Comment


      #3
      Cool.
      I guess the next step if you want is to create a delete link or check box to delete a group of events.

      You started it.


      ~Bill

      Comment


        #4
        This motivated be to do some serious cleaning.

        I had 465 events.
        Now I have 231.

        My MDB files was 2,376 KB
        Now it is 2,436 KB

        huh?


        ~Bill

        Comment


          #5
          When I ran this I got the following error message:

          Script error: Multiple-step operation generated errors. Check each status value.
          evdb.fields("Name") = EventDetails.Name
          evdb.fields("Group") = EventDetails.group

          Any idea what might be wrong?
          Dick
          HS PRO 2.5.0.81, WinXP, IE8, Shuttle XS35V3, 2.13GHz, 4GB, 40GB SSD drive, AC-RF2, ADIOcelot, Message Server, TI103, SNEVL CID, pjcOutlook, MCSTemperature, Powertrigger, BLBackup, BLFloorplan, BLIcon, BLOccupied, BLRadar, BLRfid, BLLogMonitor, ACPUPSD, UltraECM, WeatherXML & Stipus' script connector. 500+ devices, 260+ events, 1-wire weather station + temp/humidity sensors & Oregon Scientific temp & humidity sensors & 2 Brultech ECM-1240s

          Comment


            #6
            Originally posted by RAM View Post
            When I ran this I got the following error message:

            Script error: Multiple-step operation generated errors. Check each status value.
            evdb.fields("Name") = EventDetails.Name
            evdb.fields("Group") = EventDetails.group

            Any idea what might be wrong?
            Take a peek at the discussion thread linked in the first post maybe.


            ~Bill

            Comment


              #7
              Originally posted by Bill Brower View Post
              This motivated be to do some serious cleaning.

              I had 465 events.
              Now I have 231.

              My MDB files was 2,376 KB
              Now it is 2,436 KB

              huh?
              I've been running at 2436KB since the post.
              I upgraded to 2.3.0.33 and now my MDB is compacted down to 1400KB - yee haw.

              I wonder what triggered the compaction because I was getting ready to load Access to do it.


              ~Bill

              Comment

              Working...
              X