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!

Search results for query: *

  • Users: frogggg
  • Content: Threads
  • Order by date
  1. frogggg

    How to prompt a user in server side script

    I have a delete button, using a dtc, and need to prompt the user with an &quot;Are you sure?&quot; yes/no after he clicks the button, but before the delete takes place. I have the delete in a server side event handler: <SCRIPT ID=serverEventHandlersVBS LANGUAGE=vbscript RUNAT=Server> Sub...
  2. frogggg

    client side button inside server side code

    What am I doing wrong here? I'm getting the error: Type mismatch: '[string: &quot;<input type=button v&quot;]' Am I missing a set of quotes? How do I do this? Thanks for any help. Here's my code: do while not rsEmpPosts.EOF dim referenceNum referenceNum =...
  3. frogggg

    msgbox in asp

    How do I do the equivalent of a Yes/No msgbox in vbScript.asp? I'm getting a permission denied error, and I looked in the documentation and it said it was removed from vbScript in asp. Does anyone know how I can get around this problem? Tbank you.
  4. frogggg

    update record problem

    I'm probably not going about this in the proper way, but it's making me problems: I have a page that displays all the user's info and also all the job posts he made with their info and an option to change them. So I opened up a recordset with all the post info where EmployerID = EmployerID. So...
  5. frogggg

    create a dtc button on the fly

    Is there a way to make a dtc button on the fly? I'm trying to validate a form made of dtc's. In the onClick server side event handler, I ran through all the fields, and if they were incorrectly filled in, I recreated the field and added one to a counter, otherwise I recreated the field with the...
  6. frogggg

    how to make a server side button

    How do you make a server side button - in other words a button that will call a server side event handler - in vbscript? I'm trying to create a form on the fly, and I need to make a button with an onClick that will be handled server side. There is a dtc that does this, but I need to create it...
  7. frogggg

    indexOf method in vbScript

    Is there a way to use string.indexOf() is vbScript? i.e. if email.indexOf(&quot;@&quot;) = -1 or email.indexOf(&quot;.&quot;) = -1 or email = &quot;&quot; then Thanks in advance!
  8. frogggg

    server side validation on dtc's

    Can someone point me in the right direction, please? I'm trying to validate some form fields in VI using dtc's. I have an onClick event which reads all values from the page and writes them to the db using addImmediate. I would like to get the values from the form and rewrite the form with the...
  9. frogggg

    problem with event handlers and include file - Please Help!

    I have an include.asp file on every page. My problem is that on any page that requires server side event handlers such as onClick, there seems to be another round trip to the server which cancels out the contents of the page. For example, the code in the handler will not recognize the form...
  10. frogggg

    when is an include fired and when is onClick fired

    I think I finally got to the root of this onClick problem. Now I just need help getting around it. I have an include file with a .asp extension on a page that also requires onClick processing. In the onClick I need to reference recordsets and forms from the rest of the page. The problem is...
  11. frogggg

    problem with this sql statement

    Here is the statement in question: rsValidatePassword.setSQLText(&quot;SELECT CandidateContactInfo.* &quot; _ & &quot;FROM CandidateContactInfo &quot; _ & &quot;WHERE UserName='&quot; & Request.QueryString(&quot;txtUserName&quot;) & &quot;'OR UserName='&quot; &...
  12. frogggg

    join not supported

    I got this error message on this sql statement: &quot;SELECT CandidateContactInfo.*, EmployerInfo.* &quot; _ & &quot;FROM CandidateContactInfo LEFT JOIN EmployerInfo &quot; _ & &quot;ON UserName='&quot; & Request.QueryString(&quot;txtUserName&quot;) & &quot;'OR UserName='&quot; &...
  13. frogggg

    This code is killing my session variables - WHY?

    I have the following code in an onClick server side event handler: <script ID=&quot;serverEventHandlersVBS&quot; LANGUAGE=&quot;vbscript&quot; RUNAT=&quot;Server&quot;> Sub btnSubmit_onclick() session(&quot;Location&quot;) = Request.Form.Item(&quot;lstLocation&quot;) Response.Write...
  14. frogggg

    Why does this code kill all my session variables

    I have the following code in an include file to check if the user logged in or not. For some reason, whenever a page requires session variables being set in an onClick event, this code kills them, and they don't show up on the next page. Does anyone know why and what I can do so I can have this...
  15. frogggg

    is there a way to process an event on a link?

    On my hello username box in the corner, I had the &quot;If you are not USername, please login.&quot; With login being an href to the home page like this: if session(&quot;CandID&quot;) <> &quot;&quot; then dim helloString helloString = &quot;<h3>Hello &quot; & session(&quot;UserName&quot;) &...
  16. frogggg

    Why is the session variable getting killed?

    At the top of my menu, I have some code to check if the user is logged in by way of session variable, and if so, hello User. Otherwise, it will display a login box. The problem is that when I get to the first place where the session variable would and should be <> &quot;&quot;, the code seems...
  17. frogggg

    hello username and includes

    I'm trying to put a login box on the top of each page and hello username if the user logged on already, i.e. if they have a session variable. Maybe this is crazy, but I wanted to include it in each page just above my menu, so I don't have to put it on every page and for ease of changes. Here's...
  18. frogggg

    neater asp code

    Jorgandr gave me this code a while back, but I didn't use it then, because I thought I'd use dtc listboxes instead of manual asp, but I couldn't get them to work, so I used this after all, and it works just great. It's a little hard to read with all the <%, and I was wondering if there's a...
  19. frogggg

    How do I tell if this email was sent already?

    I have a page that checks in two different, ever changing, tables for matches and emails users if matches were found. I set the page to run once a day. But, how can I keep track of which matches were already found so I don't keep sending the same email every day with the same info? I suppose...
  20. frogggg

    update record error

    When I try to update a recordset rsValidatePassword.updateRecord I get this error: Insufficient key column information for updating or refreshing. The page has a sql statement which checks a username and password from the page before against the db, and brings up all the user's info, and...

Part and Inventory Search

Back
Top