home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!micro-heart-of-gold.mit.edu!uw-beaver!uw-coco!nwnexus!ole!rwing!eskimo!skaiser
- From: skaiser@eskimo.com (Steve Kaiser)
- Newsgroups: comp.databases
- Subject: Re: Help with Microsoft ACCESS, please
- Message-ID: <1992Dec28.171552.15401@eskimo.com>
- Date: 28 Dec 92 17:15:52 GMT
- References: <1992Dec24.002547.22630@Princeton.EDU> <1hckkaINN533@transfer.stratus.com>
- Organization: -> ESKIMO NORTH (206) For-Ever <-
- Lines: 28
-
-
- In article <1992Dec24.002547.22630@Princeton.EDU>
- gdzimmer@phoenix.Princeton.EDU (Gary David Zimmer) writes:
- >
- > Questions about Microsoft ACCESS:
- >
- > 1) Is there any way to control the starting value of a counter? Or,
- > alternatively, is there a handy macro that sets the value of a
- > field one greater than the field in the previous record?
- >
- No guarantee on this one, but I think the procedure is as follows:
- - Start with the table that includes the counter field. It should be
- empty.
- - Create another table with one field, that field having the same name
- as the counter field from the first table. The field type must be
- set to Long Integer.
- - Enter one row in the new table, using the number that is one lower
- than your desired starting number for the counter.
- - Create an append query to append the new table to the counter table.
- - Delete the appended row from the counter table.
-
- Hope this works for you...
-
- --
- Steve Kaiser Kaiser Data
- skaiser@eskimo.com 13533 Northshire Rd NW
- (206) 361-1515 Seattle, WA 98177-4033
- ------------------------------------------------------------------------
-