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!

Recent content by KirkKelly

  1. KirkKelly

    Create Query returning count for each day of month

    I need to create a stored procedure that when passed the starting date and ending date, will return a result set that has one record for day of the month and a count for how many records where scheduled for that day, even if there are no records for that day. I can create a set down, group by...
  2. KirkKelly

    Getting SQLCONNECT to work?

    *Program: ctConnect *Returns: Int ConnHandle *Parameters tcServerName public gcWinDir,gcSysDir Local lnConnHandle = SQLSetProp(0, "displogin", 3) lcDSNLess=[DRIVER={SQL SERVER};SERVER=]+ALLTRIM(tcServerName)+[;UID=ctore;pwd=passwordhere;Network=DBMSSOCN;database=CTORE;]...
  3. KirkKelly

    How to filter results off complex sql statement

    I have the following query that returns records where there are gaps of times between meetings, and only ones that meet a certain amount of time gap, and are associated with a valid roomid. The problem I have is that it returns records that are past the last possible time to schedule in a room...
  4. KirkKelly

    Determine if a connection is idle and for how long

    I'm looking for a good way to timeout an applicaiton if there is no use for a given period of time. I use sql as the back end and visual foxpro for the front end. at the begininng of the applicaiton I create a connection handle. I was wondering if sql maintains a connection status (idle and...
  5. KirkKelly

    Need To Close Application after x Minutes of Noactivity

    I have an exe that needs to have the ability to close itself down after there is no user activity for a set period of time. Anybody have any idea's how to start or samples? Kirk
  6. KirkKelly

    2 JavaScript things in Silverstream

    1. Does any body know how to include a quote inside a string? 2. Is anyone using the overlib.js? Thanks Kirk
  7. KirkKelly

    Setting the page background color

    If you store the desired hex value for the color in a session object, you can use it to set the background color of a page. I put the code in the pageGenerateBegin, but it may be better suited in the pageLoad section: String dbColor=""; dbColor = (String)...
  8. KirkKelly

    How to change the Page background color

    I have the user's desired background color stored in a session object. Does anyone know how I can make the page use that color when the page is loaded? Thanks Kirk
  9. KirkKelly

    Getting the Client/Browser IP Address

    // put code in pageRequestBegin String ipAddress =(String) req.getRemoteAddr();
  10. KirkKelly

    Getting the Previous Page

    The following code will get the previous page (refering page) and store it in a session object. You can then get the value out when you need it. Put this code in the pageLoad section: setSessionValue("previouspage",req.getHeader("referer"));
  11. KirkKelly

    Enumeration Example - req.getHeaderNames()

    /*This sould be in the pageLoaded section */ java.util.Enumeration elist = req.getHeaderNames(); String sHeader=""; while (elist.hasMoreElements()) { sHeader=(String) elist.nextElement(); System.out.println(sHeader+" = "+req.getHeader(sHeader)); }
  12. KirkKelly

    javaScript and SubPages

    The javascript is used on a sub-page: var browser = navigator.appName; method rowOver(whichRow) { if (browser == "Microsoft Internet Explorer") { whichRow.style.background="#EFE48E"; } } method rowOut(whichRow) { if (browser == "Microsoft...
  13. KirkKelly

    Printing with Silverstream ???

    We are using a thing called SimpleReports that uses a SimpleReports.db file to format the data in either HTML (Default), word, excel or pdf. It's free and out there somewhere on the internet or I have a zip file I can send you. Kirk kkelly@cqisol.com
  14. KirkKelly

    Get the client IP Address in SilverStream

    Can anybody tell me how to get the IP address in a silverstream page? Thanks Kirk

Part and Inventory Search

Back
Top