Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by vza

  1. vza

    Trouble with anchor colors

    How is it determined when the "current" link is chosen? -vza
  2. vza

    Trouble with anchor colors

    ChrisHunt... I appreciate your response, I will give these methods a try and see if I can work it out... -vza
  3. vza

    Trouble with anchor colors

    Thanks for the responses! I am not too familiar with javascript...what would be the best way to do implement something like this? -vza
  4. vza

    Trouble with anchor colors

    div.navMenu a:active { color: #000000; background-color: #FFCC00; background: #FFCC00; } I currently have created a <div> tag within my jsp page which contains numerous links to Navigate around my site. I have inserted the following style definition in my CSS style...
  5. vza

    MySQL unix_timestamp woes...

    r937, Sorry for the delay....I appreciate the response... select sum(unix_timestamp( coalesce(ll.endtime,now()) - unix_timestamp(ll.starttime)) as DEVICE_TIME from loghistories lh inner join loglocations ll on (lh.uuid = ll.historyid) where...
  6. vza

    MySQL unix_timestamp woes...

    I tried the replacement but still no go. -vza
  7. vza

    MySQL unix_timestamp woes...

    I have a MySQL query used to compute the total time a device is within a expected location. The loglocations table contains a history of every device's location history within the DB. the starttime/endtime are datetime fields which represent how long a device is in a partcular location for that...
  8. vza

    SQL Query

    is there any way this line could be re-written using the unix_timestamp function? -vza
  9. vza

    SQL Query

    amrita, Maybe I should rephrase: Here is an entry within the histories table (some fields have been excluded which are unnecessary): Fieldname: Sample Entry: macaddress 00:02:2D:A5:F1:E6 locationName Services starttime 2005-07-21 11:04:34 endtime 2005-07-21...
  10. vza

    SQL Query

    amrita, I appreciate all your assistance with this issue! This query works perfectly for record counts.... but I ran into another issue: I can't really compute total percentage times for a device without taking into account the amount of time a Device is actually within a location... is...
  11. vza

    SQL Query

    I will try this out... So if I had the user enter a start time and and end time (through the Application) in two variables how could i incorporate that into the query so it count all entries within the user entered time frame (comparing with the two datetime fields?) as opposed to just one date...
  12. vza

    SQL Query

    Question: I am creating an Java Application which takes in a text file with Wireless Devices and Locations these Devices are supposed to be in, and compare it to device history data stored within within a SQL database. A feature of the Application is to compute the total percentage of time the...
  13. vza

    Reading/Writing to a file

    Madere, You were right. I created wwdConnect at the beginning of my class: private Properties wwdConnect; Then when I wanted to define it within my class, I used the following: Properties wwdConnect = new Properties(); Which ultimately created a new instance to my Properties variable and...
  14. vza

    Reading/Writing to a file

    I think I figured it out.... For some reason when i run the saveProperties method my Properties table is now null, even though the Properties table is populated before the saveProperties method is called...is there a reason why the values are not carried over?? Properties wwdConnect = new...
  15. vza

    Reading/Writing to a file

    Madere, when I comment out the following line: wwdConnect.store(output, "Connection"); my saveProperties method is skipped entirely... (When debugging nothing in the method is executed unless the previous line in uncommented. I did notice something while I was compiling: DBConnectWindow.java...

Part and Inventory Search

Back
Top