Results 1 to 4 of 4

Thread: Erro in query

  1. #1

    Thread Starter
    Addicted Member thiru_rajamani's Avatar
    Join Date
    Aug 2004
    Location
    Chennai,India
    Posts
    214

    Resolved Erro in query

    Hi all please tell me where I am doing the mistake iun the fllowing query

    Query = "Insert into TblHrt (FldName,FldValue,FldType) Values (" & PrOpNam(j) & "," & PrOpVal(j) & "," & PrOpTyp(j) & ");"

    Conn.Execute Query, IntAffRowCnt



    Thanks
    Last edited by thiru_rajamani; Nov 7th, 2004 at 09:27 PM.
    Thanks
    Raj

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    There are no syntax errors in your code. The only thing I can suggest, for fields that are strings delimit the values with single quotes.

    Post the error message.

  3. #3
    New Member
    Join Date
    Nov 2004
    Location
    Harare simbabwe
    Posts
    2
    you do not need the last semicolon in your syntax
    dpm

  4. #4

    Thread Starter
    Addicted Member thiru_rajamani's Avatar
    Join Date
    Aug 2004
    Location
    Chennai,India
    Posts
    214

    Thank you

    Thank you brucevde,
    It is working now , as you said I missed the single quotes

    Rajamani
    Thanks
    Raj

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width