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 wOOdy-Soft 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 HobbyMan

  1. HobbyMan

    submitting two frames from one frame

    How do you submit the two frames? If I have top.FRAME1.forms[0].submit(); top.FRAME2.forms[0].submit(); it works fine under IE 6 but under NS 4 and Mozilla FRAME1 is the only one that gets submitted.
  2. HobbyMan

    submitting two frames from one frame

    I have a frameset with two frames. Both the frames have forms. What I wish to do is have the top form have one button that submits both frames. Is that possible? And how? I had the idea that the top window, from javascript, would submit the bottom frame, check for the existence of a variable...
  3. HobbyMan

    parsing a user entered search string

    What I want to do is take a string, entered by the user, and then make a valid database query from that. They will be searching a text field for certain words. What I am having a problem with is taking the input and creating the query. If they type in: CDE -sun -solaris I want to have this...
  4. HobbyMan

    authorization but not for index.html

    I want my document root to be authenticated for everything but the "index.html" file. Basically I want users to be able to see the index page before they have to authenticate. I would then authenticate for everything else. Is that possible? lance
  5. HobbyMan

    Netscape 6 - onChange problem

    Well I have narrowed down the problem. Towards the bottom of my HTML document I have the following: <SCRIPT language=&quot;JavaScript&quot;> document.CSCR.txtSrTitle.focus(); </SCRIPT> If I comment out that &quot;focus&quot; call, then everything is OK. It seems the &quot;focus&quot; call...
  6. HobbyMan

    Netscape 6 - onChange problem

    My &quot;onChange&quot; code is executing in Netscape 6.2.2 even when I make no change. The problem really is that I come into my page the first time and it works just fine (change the data and the onchange event code fires). If I do a refresh on the page, which sets the data back to original...
  7. HobbyMan

    DATEDIFF and exclude weekends

    I came up with this user defined function today. Was wondering if someone would look at it and see if anything is wrong? /* * User Defined Function :: fn_Drop_Weekends * * In trying to find the datediff between two * dates, there was a need to exclude the weekends. * Thus this function...
  8. HobbyMan

    office 2k on XP?

    Will office 2000 work on XP? If so, are there any problems? Lance
  9. HobbyMan

    NS4 Resizable Selectbox

    I had similar NS4 <SELECT> problems (the size issue). I had to &quot;pre-fill&quot; the options with dummy data to get the desired width.
  10. HobbyMan

    plpgsql parse error

    This is my first attempt at a plpgsql function. Here is what I have thus far: create function fnInsWeeks() returns integer as ' DECLARE --theDate wedates2.wedate%TYPE; thedate DATE; BEGIN SELECT INTO thedate wedate FROM wedates2 WHERE id=(SELECT MAX(id) FROM wedates2); INSERT INTO...
  11. HobbyMan

    EXPIREDATE (on the backup command)

    I have my backup setup as follows: DECLARE @theDate DATETIME SET @theDate=GETDATE()+7 BACKUP DATABASE CustomerSupport TO CustomerSupport WITH EXPIREDATE=@theDate I thought I understood the EXPIREDATE parameter. Could someone tell me what is supposed to happen when the expiredate is reached...
  12. HobbyMan

    Trimming leading 0 in varchar field

    This was just ask yesterday. Here is the link: thread183-193266
  13. HobbyMan

    Last name and first name string

    Here is what I came up with. There may be something much easier (I tend to go the hard way): create table test1 (fullname varchar(128)) insert into test1 values ('Smith/John'); SELECT SUBSTRING(fullname,CHARINDEX('/',fullname)+1,128) as Fname, SUBSTRING(fullname,1,CHARINDEX('/',fullname)-1)...
  14. HobbyMan

    Schedule php execution

    You might want to check out phpCron at: http://www.gemini1consulting.com/tekhelp/online_manuals/phpcron/html/
  15. HobbyMan

    PHP and Databases

    Either learn mySql or Postgres. Both are easy to learn and are open source.

Part and Inventory Search

Back
Top