Zum Hauptinhalt gehen

Auto incremented number workflow

Kommentare

1 Kommentar

  • Permanently deleted user

    Hi Jim,

    You probably figured this out already, but I'll post for posterity.  If your data is in an RDBMS, the easiest thing to do is use the SQL Query activity with the query SELECT MAX([AutoIncrementField]) + 1 FROM YourTable.   The value can be assigned to an integer variable using CInt(datatablename.Rows(0)(0)), after assigning the datatable's name first.  I think the Query Task could also be used to do something similar.

    We've been using SQL triggers to keep assigment of incrementing fields totally hands off.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.