|
-
Jul 29th, 2010, 08:28 AM
#2
Re: Scope_identity + MS Access.
For Access (I think anyway) you can not run two statements in the one command.
You should open the connection.
Run the insert command.
Once it returns reset the command text to Select Scope_Identity
and run the command again.
As long as it is on the same connection there is no probblem with this approach.
Sometimes the Programmer
Sometimes the DBA
Mazz1
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
|