Jump to content

lkeller

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About lkeller

  • Rank
    Newbie
  1. lkeller

    Truncate Field

    Thank you, I should of found that myself.
  2. lkeller

    Truncate Field

    I am trying to truncate a 9+ account number to only display the last 4 digits. I have tried a few different ways of doing it, with the ASP Trim command, and using the Right function from the SQL SELECT.This is the sql select code: strSQL = "SELECT * from AccInfo where AccNum=" & Prep4SQL(frmAccNum,"STRING") and this is the email where I'm putting the Account Number: strEmailBody = strEmailBody & vbcrlf & _"The last 4 digits of your account number are " & frmAccNum & vbcrlf This currently works and displays the full account number in the email.
  3. lkeller

    File Upload

    Thank you, I was able to figure it out from your last comment.
  4. lkeller

    File Upload

    This is the default uploadTester.asp that comes w/free ASP Upload, I commented out a few of the inputs that I do not need and the first 6 lines. One thing I forgot to mention was if I take the two files uploadtester.asp and freeaspupload.asp and put them in a different folder and navigate directly to uploadtester.asp in a browser it will work. It just doesn't work when I try to use it with the admin.asp project. <%@ Language=VBScript %><% option explicit Response.Expires = -1Server.ScriptTimeout = 600%><!-- #include file="freeaspupload.asp" --><%' **********************
  5. lkeller

    File Upload

    I am trying to insert freeASPupload into my website and I keep getting an error when I try to Upload(I can browse for a file without issue):Microsoft VBScript runtime error '800a01fa'Class not defined: 'FreeASPUpload'/client/uploadTester.asp, line 78 <!-- #include file = "../common/db_connectb.asp" --><!-- #include file = "../common/adovbs.inc" --><% 'local data source CONN_STR = replace(CONN_STR, "\client", "") page_id = request.QueryString("action") if session("login") <> TRUE then response.redirect("index.asp?action=FAIL") else fullname = session("name") end if %&g
×
×
  • Create New...