|
-
May 21st, 2001, 04:51 AM
#1
Thread Starter
Lively Member
UPDATE sql
If I say
Code:
strSQL = "UPDATE Users SET Course = " & intNewID & " WHERE Course = " & intOldID
but it does not execute correctly. It does not give me any error whatsoever but it doesn't work. What's wrong?
-
May 21st, 2001, 07:33 AM
#2
Fanatic Member
This may seem a silly question but the Course field is not a key field is it.
When you say it does not work does nothing at all happen or does something unexpected happen.
-
May 21st, 2001, 10:33 AM
#3
Frenzied Member
It would be helpful if you post the error text as well..
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 22nd, 2001, 01:27 AM
#4
Lively Member
did you execute?
Hey did you executed the stated in the ADO connection
aniz
I respect love and lovers ,but it should be possesive .
I love friendship and friends but it should be true.
-
May 22nd, 2001, 02:03 AM
#5
Frenzied Member
Sorry, I read your post wrong..
Post the code you are using to execute the query.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 22nd, 2001, 02:55 AM
#6
Fanatic Member
Let me put it this way.
When you do execute the command what exactly does happen and can you post some extra code to demonstrate how and when the code is being executed.
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
|