Home > Archive > Getting Started with dBASE > August 2005 > autoinc field









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author autoinc field
JUAN S

2005-07-29, 1:23 pm

how can I reset a autoincrement field ?
Ivar B. Jessen

2005-07-29, 1:23 pm

On Fri, 29 Jul 2005 14:20:08 -0400, JUAN S
< jsanchez_eurocar@pro
digy.net.mx> wrote:

>how can I reset a autoincrement field ?


Use function SetNextAutoIncValue(
) in :duflp:dbf7file.cc.


Ivar B. Jessen
Juan S.

2005-08-02, 8:23 pm

Ivar B. Jessen Wrote:

> On Fri, 29 Jul 2005 14:20:08 -0400, JUAN S
> < jsanchez_eurocar@pro
digy.net.mx> wrote:
>
>
> Use function SetNextAutoIncValue(
) in :duflp:dbf7file.cc.
>
> Can You send me some code, because I canīt do it

Thank You
> Ivar B. Jessen


Ken Mayer [dBVIPS]

2005-08-02, 8:23 pm

Juan S. wrote:
> Ivar B. Jessen Wrote:
>
>
>
> Thank You


This is pretty straightforward. Read the documentation in the beginning
of the code. However, if that's confusing, try:

do :dUFLP:ResetAutoInc.wfm

Ken


--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com