Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Filemaker > Re: Counter Exa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 7979 of 8323
Post > Topic >>

Re: Counter Example

by cdhuskey@[EMAIL PROTECTED] Apr 16, 2008 at 06:47 PM

On Apr 15, 11:23=A0pm, Helpful Harry <helpful_ha...@[EMAIL PROTECTED]
>
wrote:
> In article
> <de059ea4-9555-4387-8321-fc588981c...@[EMAIL PROTECTED]
>,
>
> cdhus...@[EMAIL PROTECTED]
 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 im****tant.
>
> Helpful Harry =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> Hopefully helping harassed humans happily handle handiwork hard****ps
=A0;o=
)

Harry,

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




 3 Posts in Topic:
Counter Example
cdhuskey@[EMAIL PROTECTED  2008-04-15 20:05:12 
Re: Counter Example
Helpful Harry <helpful  2008-04-16 16:23:24 
Re: Counter Example
cdhuskey@[EMAIL PROTECTED  2008-04-16 18:47:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 16:06:47 CDT 2008.