Public Overrides Sub Button_Click()
dim nummerfeld as Autodesk.Map.IM.Forms.DialogControls.TextBox
nummerfeld = Me.Dialog.Controls.Item("NUMMER")
dim maxNummer as Long = Me.Document.ConnectionTools.LngValue("select max(NUMMER)+1 from wse_br_wohnen")
nummerfeld.Value = maxNummer
End Sub
No comments:
Post a Comment