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 strongm 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: *

  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

    Thanks - that was it exactly! Dumb mistake!
  3. 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 =...
  4. frogggg

    msgbox in asp

    This all needs to be done on one page, which is an asp page, so the first idea won't work, and I'm not sure about pop up windows, but I found this idea and I was wondering if you could help me make it work. response.write &quot;<SCRIPT Language='javascript'>&quot; & vblf &_ &quot...
  5. frogggg

    update record problem

    The sql statement is bringing back more than one record - it's supposed to. Where would I reference the ReferenceNum (which is the primary key for each post) so that the update would only update that single record? Thanks for your help.
  6. frogggg

    msgbox in asp

    Thanks! How would I do this as inline code in a serverside event handler? <script ID=&quot;serverEventHandlersVBS&quot; LANGUAGE=&quot;vbscript&quot; RUNAT=&quot;Server&quot;> Sub btnDeletePost_onclick() dim msgString msgString = &quot;Are you sure you want to delete &quot; &...
  7. 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.
  8. 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...
  9. 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...
  10. frogggg

    how to make a server side button

    I'm using VI. The page is an asp page that includes the object model, so there is automatically a form on the page called thisform and all processing of the form is done on the same page, so I cannot put my own forms on it. I initially created the page using dtc's for the fields. I had a...
  11. 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...
  12. 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!
  13. 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...
  14. 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...
  15. 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...
  16. 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; &...
  17. 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; &...
  18. frogggg

    Why does this code kill all my session variables

    Well, I'm working in VI, first of all. The include file represents a check if the user is logged in - if yes, hello Username. if not, login box. The login box will submit to validatePassword.asp. The page is redirecting to displayJobs.asp but the session variables are empty. That's the...
  19. frogggg

    This code is killing my session variables - WHY?

    Another point that may help in solving the mystery - when I include a .htm there's no problem. Only when I include a .asp.
  20. frogggg

    Why does this code kill all my session variables

    I understand what must have happened - when the page gets called again by the include the form values are empty/nonexistant and that's what gets put in the session variables. It sounds like it makes a lot of sense - but it still doesn't work. Also, I don't have a problem when I just include a...

Part and Inventory Search

Back
Top