Click to See Complete Forum and Search --> : Foxpro: How to auto-increment field?


girish_mu
January 24th, 2006, 07:21 AM
I would like to know how I can auto-increment a field by 1. The piece of code I want to change is below:

@ 10,12 Say "Member ID: " Get members-> mem_id


In the current situation,when I am adding a new record, I have to input the data in the field. How to auto-increment it?
Thanx!

exterminator
January 24th, 2006, 09:13 AM
Autoincrementing Field Values in Tables (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/fogrfautoincrementingfieldvaluesintables.asp)