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 bkrike 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: kazai
  • Content: Threads
  • Order by date
  1. kazai

    How does one trap the duplicate key error for SQL server?

    hi, I wanted to know how one can trap the duplicate key error for SQL server? I have an insert statement, which throws up an error for duplicate insertions...how do I trap that error and display my own appropriate message....PLS. HELP!!!!! IT's VERY VERY URGENT!!!!!!!! thanks, Radhika.
  2. kazai

    Cannot Insert into the accesss DB!!!! PLS. HELP!!!!

    I have an insert statement, which works perfect when I run it on Access. But when I try to run the same thro' ASP, it gives me an error saying: Error: Operation must use an updateable query. Well, all the security settings have been set to read/write access to the everyone user, and the table...
  3. kazai

    Insert statement in ASP

    I have an insert statement which is perfect..I run it on Access, and it gives me the correct o/p.(ie, it inserts.) I saw the string on the browser, and copy-pasted it onto Access, and it works. But if I do a conn.Execute(strSQL), it gives me an error saying "Query must be an updatable...
  4. kazai

    Record set returning less number of values?--URGENT HELP!!!

    I have a select statement that returns 5 records, when i run it on access, but when i run the same on the browser(in a loop), using recordset object, it gives me 3 rows. I checked the statement, and it is exactly the same as the one i use for the access DB. Any inputs on this, as to why it could...
  5. kazai

    Auto Generated Primary Key in MSAccess

    While accessing MS Access table through ASP, I insert a row through a form page, using ASP. But the primary key is an auto number, called id. How do I incorporate this value in my Insert statement...do I need to incorporate it, or will it suffice if i just insert the values for the other...
  6. kazai

    AddDate function in VbScript

    The scenario is: Dim Borrow_date Borrow_date = Request.Form("txt_BorrowDate") // Borrow_date actually contains a date(in string form, though i have declared it as dim only) // I now need to add 15 days to this, using the DateAdd function in VBSript. I say...
  7. kazai

    Can one use Requst.QueryString, if the method of the form is POST?

    Can one use Requst.QueryString, if the method of the form is POST?
  8. kazai

    Help in Syntax Error in Insert Statement :-(

    Can Anyone help me find a syntax error in this statement? strSQL = "Insert into SIGNIN (FIRSTNAME, LASTNAME, USERNAME, USERPASSWORD, EMAILID) values ( "& txt_fName &","& txt_lName &","& txt_UserName &","& txt_Password &","& txt_Email &")"
  9. kazai

    How do I use the value of a variable in VBScript as part of the Email?

    hello, I'd like to know how to use a VBScript variable's value as part of the Message body in the email. For eg. <% Dim Var Dim Mail Var = Request.Form(&quot;txt_Var&quot;) -- create all the mail objects. set Mail = server.CreateObject(&quot;CDONTS.NewMail&quot;) Mail.body = Var --...
  10. kazai

    URGENT HELP NEEDED on VBSCRIP RUN TIME ERROR

    Hi, I'm getting the following error: Error Type: Microsoft VBScript runtime (0x800A01A8) Object required: 'ADODB' /Malavika/PFEfiles/SIGN_IN_ASP_files/Insert.asp, line 24 This happens when I try to execute a pure back-end ASP file. The line in my code that this error points to is: set cnn =...

Part and Inventory Search

Back
Top