Search Results - ASP Message Board

Search:

Type: Posts; User: Bill Wilkinson

Page 1 of 20 1 2 3 4

Search: Search took 1.40 seconds.

  1. Why would adding a new user EVER cause problems...

    Why would adding a new user EVER cause problems for this query?

    The query is just getting a SUM of all pay in a given month. It doesn't even LOOK at users or care how many users there are.
    ...
  2. I don't understand. Yes, this could be done, but...

    I don't understand. Yes, this could be done, but essentially you are asking SQL Server to DUPLICATE the work.

    You will get all the information for the prior month (all the months from January...
  3. Assuming CMI is the name of the database and CORE...

    Assuming CMI is the name of the database and CORE is the name of the table you are looking at:


    <%
    Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open "Provider=sqloledb; Data...
  4. Replies
    3
    Views
    193

    Okay, then the redirect should do okay for what...

    Okay, then the redirect should do okay for what you have so far.
  5. HINT: Show your code. Hard to know what you...

    HINT: Show your code. Hard to know what you might be doing wrong without that.

    User.Identity.Name is only going to work if you are using the .NET package that uses that structure (and maintains...
  6. One more time: *WHAT* is the error you...

    One more time: *WHAT* is the error you get?????And error 500 MEANS NOTHING. You need to either change your ASP server so that it shows the details of an error (and then also change your browser to...
  7. Replies
    3
    Views
    193

    So you said "I add a new Web page to my aspx...

    So you said "I add a new Web page to my aspx project ". Fine. But then what did you put in the <form> of that web page? And why would you Redirect on the page_load event? You should only...
  8. But there's really no reason to close the...

    But there's really no reason to close the recordset or set it to nothing. ASP will do that for you, automatically. There was a bug, in 1997, where ASP would occasionally not do so. The bug was...
  9. DEBUG DEBUG DEBUG!! Trap the error: ......

    DEBUG DEBUG DEBUG!!

    Trap the error:


    ...
    On Error Resume Next
    RS.Close
    If Err.Number > 0 Then
    Response.Write "Error on close: " & Err.Description & "<hr/>"
  10. Sure, there are several ways to do this. If...

    Sure, there are several ways to do this.

    If you want to duplicate the ASP/ASP.NET code on each server, then you could just submit the <form> to all 3 sites.

    A better way would be to have the...
  11. Show the rest of your code. That code you showed...

    Show the rest of your code. That code you showed will *NOT* create any file. It just creates an object that *THEN* can be used to store FDF to a file.
  12. Replies
    3
    Views
    439

    strRecords = "" & vbNewLine do while not rs.eof...

    strRecords = "" & vbNewLine
    do while not rs.eof
    strRecords = strRecords & _
    "<a href=""maint_print.asp?RdID=" & _
    rs("RdID") & "&WONum=" & rs("WONum") & """>" & _
    ...
  13. Replies
    2
    Views
    484

    You certainly need to specify full path names for...

    You certainly need to specify full path names for the .htm and .pdf files!
    Else they will be assumed to be in a C:\windows\xxx directory and you
    will *NOT* have permission to write there and maybe...
  14. Replies
    1
    Views
    625

    Nothing to do with ASP. Should have been asked...

    Nothing to do with ASP. Should have been asked in a PHP forum.

    But really he should be getting the username and password
    from whomever administers his site.
  15. Replies
    1
    Views
    263

    How do you know the problem is with sessions? ...

    How do you know the problem is with sessions?

    Assuming you are right:

    Remember that sessions depend upon cookies working.
    If somehow your site has been marked as a SPAM producer
    by the major...
  16. And how does ASP code return two values to the...

    And how does ASP code return two values to the AS3 code??

    Is it as simple as


    Response.Write value1 & "," & value2 & vbNewLine
    or maybe


    Response.Write value1 & vbNewLine
  17. Replies
    3
    Views
    439

    Use There is no need to use the table prefix...

    Use

    There is no need to use the table prefix (WorkOrders.WONum)
    when there is only one table in the SELECT.
  18. Replies
    3
    Views
    367

    classicASP: Bad answer. Means he has to alter...

    classicASP: Bad answer. Means he has to alter EVERY FILE that needs this redirection.

    Rajesh: Learn to use your web.config file. It can easily do this (and much more) by just creating a set of...
  19. Replies
    5
    Views
    485

    Close.

    Close.



    <%
    icount = request.form("icount")
    For i = 0 to icount
    cat = Replace( request.form("category" & i), "'", "''" )
    id = request.form("id" & i)
    SQL = "UPDATE event SET...
  20. Replies
    3
    Views
    422

    No, my point is that you have been coding here...

    No, my point is that you have been coding here and posting here for a long time, and I was truly surprised to see you posting code that couldn't possibly make sense.

    I *STILL* think you are using...
  21. Replies
    3
    Views
    422

    So very much of that code makes NO SENSE at all....

    So very much of that code makes NO SENSE at all.

    First of all, you create a new record, referenced by the RS variable. And then you *OVERWRITE* that value by the useless line
    rs.open "select...
  22. Replies
    15
    Views
    1,261

    What in the world is this:

    What in the world is this:

    <% IF Session("wolfID")<>="" THEN %> welcome to Page 1 <BR>
    There is no such operator as <>= in VBScript. I don't understand how your page even compiles.

    But your...
  23. Replies
    5
    Views
    1,284

    You should first realize that this has nothing to...

    You should first realize that this has nothing to do with ASP, per se.

    After all, ASP can only generate HTML code, send that HTML to the browser, and then the browser can only work with the HTML. ...
  24. Replies
    10
    Views
    976

    You describe for me, in English, how your system...

    You describe for me, in English, how your system works. I'll translate it to code.

    But I'm not entirely clear on what you want the system (in English) to do, as of yet.
  25. Replies
    10
    Views
    976

    I think you need to step way way back and look at...

    I think you need to step way way back and look at what you are really trying to do here.

    Let's consider your two "arrays":

    strARR2 = "navigation|manual|heated|heated leather seats"
    ARR2 =...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4


More ASP Resources

Resources:
-- ASP Articles
-- ASP.NET Information
-- 4Guys ASP F.A.Q.
-- ASPFAQs.com
-- ASP Coding Tips
-- Related Web Technologies
-- User Tips!!
-- JavaScripts


Development Centers
-- HTML5 Development Center
-- Windows Mobile Development Center
-- Android Development Center
-- Cloud Development Project Center


Development Technology
Check out these sites for more articles, tutorials, FAQs, discussions, and code!
-- CodeGuru.com
-- VBForums.com
-- DevX.com
-- Developer.com
-- HTMLGoodies