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 TouchToneTommy 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 Bobs390

  1. Bobs390

    Call variable from other frame

    Hi, Thank you both for your help with this. I think that checkok isn't a global variable as it seems to be only within the function. Excuse my lack of knowledge with this (I'm a designer not a programmer! :) ) but if I were to declare checkok as a global variable so it works outside the...
  2. Bobs390

    Call variable from other frame

    Nope. Also if I check it from alert(checkok) it says undefined. I am sooo stuck with this, and it doesnt make any sense.
  3. Bobs390

    Call variable from other frame

    I am trying to get the value of a variable from another frame called middle which has a procedure called validform() in it. Within this function is a variable called checkok. I am using the following function called fom a button, in the other frame called bottom, which tries to call the...
  4. Bobs390

    Call function onSubmit

    If I call the onsubmit() and add the following to the end of the procedure, why doesn't this work? if (err==0){return false;} else {return true;} } Hope someone can help? Thanks
  5. Bobs390

    Call function onSubmit

    I have tried that, but it doesnt seem to work. I can get half of it done, getting the form validation to run from the following code... function submitform(){ parent.middle.document.faultform.onsubmit(); } but then I also need the form to submit if no errors are found as I have unsussefully...
  6. Bobs390

    Call function onSubmit

    Hi, Basically I have 2 frames called middle and bottom the middle frame holds a form and the bottom frame holds a javascript form submit buttom. <a href="javascript:parent.middle.document.faultform.submit()">Submit</a> If I click on this it submits the form fine, however there is a...
  7. Bobs390

    Call function on submit

    Hi, Basically I have 2 frames called middle and bottom the middle frame holds a form and the bottom frame holds a javascript form submit buttom. <a href="javascript:parent.middle.document.faultform.submit()">Submit</a> If I click on this it submits the form fine, however there is a...
  8. Bobs390

    Close Recordset Error

    ah, that would be it. Thx
  9. Bobs390

    Close Recordset Error

    I am using the code below to track hits from banners, It works but if I use the RS.Close at the end to close the recordset object it throws up an error: Operation is not allowed when the object is closed. /click/clicks/redirect.asp, line 23 But if I remove the RS.Close the it works fine ...
  10. Bobs390

    Counter

    HOLD ON- I figured it out from other snippets of code, But there is an issue. <% SiteURL = Request.QueryString("URL") site = Request.QueryString("site") city = Request.QueryString("city") Set DataConn = Server.CreateObject("ADODB.Connection") Set RS = Server.CreateObject("ADODB.RecordSet")...
  11. Bobs390

    Counter

    I have just realised that my last post made little sense, basically what I need to do is: 1- Check records in table to see if same data for corresponding site and city are already there 2- If data exists as above then update the clicks +1 and stamp the new date on it 3- if no data exists...
  12. Bobs390

    Counter

    Hi, I am using an access database by the way. Tarwn, I have checked the primary key and it was set to site. If I have no primary key all the hits are recorded, but individually. The ones that match the fields of site and city dont just increment the clicks value by one. As you said "As long as...
  13. Bobs390

    Counter

    Hi, I have the following asp page that processes data submitted from links in other pages. <% 'declare variables passed from links SiteURL = Request.QueryString("URL") site = Request.QueryString("site") city = Request.QueryString("city") If Len(SiteURL) > 0 Then Set objConn =...

Part and Inventory Search

Back
Top