new record and inserting id value

sullyman

Active member
Joined
Nov 11, 2009
Messages
37
Programming Experience
Beginner
Hi folks,

Working with datagrids and datasets etc.

How do i create a new record which will insert the employeeid automatically into the employee filed on creation of the new record.

The employeeid is a globalvariable (guserid)

Any help or examples appreciated.

Thanks
 
Hi sullyman,

you can do this when your id column is autoincremented. Otherwise you need to insert it manually.

Thanks
Panna
 
Back
Top