hi everybody
i need some code for auto inncrement in msaccess database file and in form textbox
and if we add any data the number should increment automatically
please help meee
thanks in advance

See if this helps for Form TextBox.

If IsNumeric(TextBox1.Text) Then
            TextBox1.Text += 1
        End If
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.