Jul 22, 2003 #1 Ilene Programmer Joined Aug 13, 2002 Messages 10 Location US Is it possible to create serial numbers for the old records in a file that does not have serial numbers?
Is it possible to create serial numbers for the old records in a file that does not have serial numbers?
Jul 22, 2003 #2 paulbent Programmer Joined Mar 4, 2002 Messages 1,071 Location GB Can be done by a looping macro. Create a variable field, called vNum say to store the serial numbers. MACRO1 Find all records Set vNum = 1 'or the start number Records first Set Tablename.SerialField = vNum vNum = vNum + 1 Run MACRO2 MACRO2 Records next Set Table.SNoField = vNum vNum = vNum + 1 Run MACRO2 Paul Bent Northwind IT Systems http://www.northwindit.co.uk Upvote 0 Downvote
Can be done by a looping macro. Create a variable field, called vNum say to store the serial numbers. MACRO1 Find all records Set vNum = 1 'or the start number Records first Set Tablename.SerialField = vNum vNum = vNum + 1 Run MACRO2 MACRO2 Records next Set Table.SNoField = vNum vNum = vNum + 1 Run MACRO2 Paul Bent Northwind IT Systems http://www.northwindit.co.uk