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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: vza
  • Order by date
  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...

    ...lh inner join loglocations ll on (lh.uuid = ll.historyid) where lh.macaddress = '00:02:2D:A5:F1:E6' and ll.locationName = 'Services*' I was able to run this protion of the query and get a value: mysql> source sum.sql +-------------+ | DEVICE_TIME | +-------------+ | 3925894 |...
  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

    ...opposed to just one date? Here is what I have so far: Select lh.macaddress, (Sum(Case When ll.locationName = 'Locale1' Then 1 Else 0 End)/ (count(*) * 1.0) * 100) As Percent From loglocations ll Inner Join loghistories lh On (lh.id = ll.historyId) where ?? (date info would go here) Group By...
  12. vza

    SQL Query

    ...time the Device was located within the proper location ((which is # of times device is in proper location/total # of times device is in a location) * 100) over a certain time duration which is inserted by the user. One table has a macaddress field and a ID field. The other table has a...
  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...
  16. vza

    Reading/Writing to a file

    Madere, I took your advise and tried to utilize the Properties class: Properties wwdConnect = new Properties(); wwdConnect.setProperty("URL", "DB_URL"); wwdConnect.setProperty("Username", "DB_USER"); wwdConnect.setProperty("Password", "DB_PASS"); This is my Save Properties method...
  17. vza

    Reading/Writing to a file

    I want to store connection properties (URL/Username/Password) for a DB to a file and also have the ability to access these properties as needed. What would be the best way to do this? -vza
  18. vza

    TransferSpreadSheet Function

    ...the table...I am confused...Help specifically states that this function can be used to append data to an existing table... Here is my code: ' ***Transfer*** xlstr = ConvertForm.ExcelText.Text Range = GetUsedRange(xlstr, &quot;Sheet1&quot;) ' Create Access Appilcation...
  19. vza

    I am trying to update a field value

    ...' RecordSets Dim RsTable As New ADODB.Recordset Dim RsMAX As New ADODB.Recordset ' Open Recordsets RsTable.Open &quot;Select * From Table1&quot;, CnAX, adOpenDynamic RsMAX.Open &quot;Select MAX(Entry_ID) As MAXID From Table1&quot;, CnAX, adOpenDynamic Do Until RsTable.EOF = True...
  20. vza

    I am trying to update a field value

    zemp, I had a version of this earlier and I was still getting same error... Thanks -vza

Part and Inventory Search

Back
Top