Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.webdp.net, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed, sed: -e expression #1, char 1: unterminated address regex, procmail + change subject, w2ksp4.exe download, /proc/kallsyms format

Links

XODOX
Impressum

#1: Counter Example

Posted on 2008-04-16 05:05:12 by cdhuskey

Looking for a FM Pro Counter example that allows the end user to enter
a number, and then increment that number by one if new records are
added. I am using FM 8.5. Thank you in advance!!

Report this message

#2: Re: Counter Example

Posted on 2008-04-16 06:23:24 by Helpful Harry

In article
<de059ea4-9555-4387-8321-fc588981c3e3@8g2000hse.googlegroups.com>,
cdhuskey@gmail.com wrote:

> Looking for a FM Pro Counter example that allows the end user to enter
> a number, and then increment that number by one if new records are
> added. I am using FM 8.5. Thank you in advance!!

It depends on what you're trying to achieve, but the easiest way is to
use FileMaker's in-built Auto-Enter Serial Number option.

Create a new field to be the counter:
ie.
Counter Number Field
Auto-enter Serial Number: Next Value 1
Increment by 1

If you really want the user to be able to change that number's next
value, then you can create another new field (a Global field this time)
for the user to enter their new value into.
ie.
g_NextCounterValue Global Field of type Number

Put this field onto a Layout and next to it put a small button that
runs this one-step Script:

Set Next Serial Value [Counter, g_NextCounterValue]

There is of course no checking here to make sure the value isn't
already used by an existing record, which may or may not be important.

Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)

Report this message

#3: Re: Counter Example

Posted on 2008-04-17 03:47:41 by cdhuskey

On Apr 15, 11:23=A0pm, Helpful Harry <helpful_ha...@nom.de.plume.com>
wrote:
> In article
> <de059ea4-9555-4387-8321-fc588981c...@8g2000hse.googlegroups.com>,
>
> cdhus...@gmail.com wrote:
> > Looking for a FM Pro Counter example that allows the end user to enter
> > a number, and then increment that number by one if new records are
> > added. =A0I am using FM 8.5. =A0Thank you in advance!!
>
> It depends on what you're trying to achieve, but the easiest way is to
> use FileMaker's in-built Auto-Enter Serial Number option.
>
> Create a new field to be the counter:
> ie.
> =A0 =A0 Counter =A0 =A0 Number Field
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Auto-enter Serial Number: Next Value 1
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 Increment by 1
>
> If you really want the user to be able to change that number's next
> value, then you can create another new field (a Global field this time)
> for the user to enter their new value into.
> ie.
> =A0 =A0 =A0g_NextCounterValue =A0 =A0Global Field of type Number
>
> Put this field onto a Layout and next to it put a small button that
> runs this one-step Script:
>
> =A0 =A0 Set Next Serial Value [Counter, g_NextCounterValue]
>
> There is of course no checking here to make sure the value isn't
> already used by an existing record, which may or may not be important.
>
> Helpful Harry =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> Hopefully helping harassed humans happily handle handiwork hardships =A0;o=
)

Harry,

That is exactly what I needed. Thank you!!!!

Report this message