|
-
Nov 6th, 2004, 05:09 AM
#1
Thread Starter
Addicted Member
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
-
Nov 6th, 2004, 11:06 AM
#2
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.
-
Nov 6th, 2004, 04:44 PM
#3
New Member
you do not need the last semicolon in your syntax
-
Nov 7th, 2004, 09:28 PM
#4
Thread Starter
Addicted Member
Thank you
Thank you brucevde,
It is working now , as you said I missed the single quotes
Rajamani
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|