Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get New ID
Message
From
04/05/2000 13:57:19
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Get New ID
Miscellaneous
Thread ID:
00366228
Message ID:
00366228
Views:
48
Hi everyone!

I am looking for ability to get New ID which will be automatically assigned to my identity setup field, before I insert record.
basically I need to attach this field to some expression and build it into INSERT command, to provide it to another field.

For example

cStroka = _
"INSERT INTO mOpt (objectname) VALUES ("& MakePrefix() & [new id] &")"
objCommand.CommandText =cStroka
objCommand.Execute
XO4Y BCE 3HATb,YMETb,IMETb!
Next
Reply
Map
View

Click here to load this message in the networking platform