Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
I'm using the following code to add records to a SQL Server Express database table using an INSERT statement in the SQL string. Set cnt = CreateObject("ADODB.Connection") With cnt .ConnectionString = connString .Open .Execute sqlString .Close End With The table I add data to has an auto-increment Record_No field (Identity Increment). It is also the primary key. How do I determine this record_no? I need it to subsequently add data to another table. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need to have a record number change for every record | Excel Discussion (Misc queries) | |||
SQL Server -- Bulk Insert from Excel to SQL Server | Excel Discussion (Misc queries) | |||
find number & insert rows | Excel Programming | |||
Find end of week and insert Data | Excel Programming | |||
Find match between 2 columns and then record data that is in colum | Excel Discussion (Misc queries) |