dbTalk Databases Forums  

next in the list: serial id number

comp.databases.filemaker comp.databases.filemaker


Discuss next in the list: serial id number in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
thdyoung@googlemail.com
 
Posts: n/a

Default next in the list: serial id number - 07-07-2007 , 12:49 PM






How do I do this ..

....a field that displays a number matching the next new record's auto-
entered serial id.

If I sort existing records by id, then go to last record and grab the
value of that last record (and add 1), I can't be sure the grabbed id
belongs to the last created record...the last created record may have
been deleted.

any ideas ?

marmot


Reply With Quote
  #2  
Old   
Matt WIlls
 
Posts: n/a

Default Re: next in the list: serial id number - 07-07-2007 , 01:24 PM






In article
<1183830568.915150.264820 (AT) 22g2000hsm (DOT) googlegroups.com>thdyoung@go
oglemail.com wrote:

Quote:
How do I do this ..

....a field that displays a number matching the next new record's
auto-entered serial id.

If I sort existing records by id, then go to last record and grab
the value of that last record (and add 1), I can't be sure the
grabbed id belongs to the last created record...the last created
record may havebeen deleted.

any ideas ?

marmot


GetNextSerialValue ( fileName ; fieldName )

Matt




Reply With Quote
  #3  
Old   
thdyoung@googlemail.com
 
Posts: n/a

Default Re: next in the list: serial id number - 07-07-2007 , 03:07 PM



On Jul 7, 7:24 pm, Matt WIlls <I... (AT) Witz (DOT) End> wrote:
Quote:
In article
&lt;1183830568.915150.264... (AT) 22g2000hsm (DOT) googlegroups.com>thdyoung@go



oglemail.com wrote:
How do I do this ..

....a field that displays a number matching the next new record's
auto-entered serial id.

If I sort existing records by id, then go to last record and grab
the value of that last record (and add 1), I can't be sure the
grabbed id belongs to the last created record...the last created
record may havebeen deleted.

any ideas ?

marmot

GetNextSerialValue ( fileName ; fieldName )

Matt
easy! thanks Matt.

marmot



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.