Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.filemaker > #2671

Re: Script to Increment an arbitrary Field

From ursus <ursus.kirk@gmail.com>
Newsgroups comp.databases.filemaker
Subject Re: Script to Increment an arbitrary Field
Date 2016-08-12 13:12 +0200
Organization A noiseless patient Spider
Message-ID <nokaur$2ir$1@dont-email.me> (permalink)
References (1 earlier) <100820160859573113%HelpfulHarry@BusyWorking.com> <0001HW.D3D0C7E30856A47BB01029BF@news.astraweb.com> <1mrt89w.k4rd3u1cxowv4N%clkaufmann@gmx.ch> <b0550$57ac2e9e$53559afc$20447@news.ziggo.nl> <0001HW.D3D31AC308E20FE2B02919BF@news.astraweb.com>

Show all headers | View raw


>>>
>> PseudoPseudoCode
>> You number your fields (instead of naming them field1 _ fieldx) just 1
>> and 2 etc.
>> GetFieldName as number
>> SetField(number+1) as NewValue
>>
>> Ursus
>>
>
> The problem is that the button doesn't activate the associated field so
> any of the functions which operate on the active field such as
> GetFieldName or GetFieldName as number don't reference the desired
> field.
>

The button can be named as well. BUt why do you need a field to act as a 
button in the first place? If it is because you need to see the contents 
of the field on the button then there are other ways to accomplish that. 
like create and name a button. then put your field on top if it. Group 
them and assign a script to the group. parse the name of the button to 
the script as a variable.

-- 
Keep well, Ursus

Back to comp.databases.filemaker | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Script to Increment an arbitrary Field Nelson <nelson@nowhere.com> - 2016-08-09 15:06 -0400
  Re: Script to Increment an arbitrary Field Helpful Harry <HelpfulHarry@BusyWorking.com> - 2016-08-10 08:59 +1200
    Re: Script to Increment an arbitrary Field Nelson <nelson@nowhere.com> - 2016-08-10 12:00 -0400
      Re: Script to Increment an arbitrary Field clkaufmann@gmx.ch (Christoph Kaufmann) - 2016-08-11 09:19 +0200
        Re: Script to Increment an arbitrary Field Ursus <ursus.kirk@ziggo.nl> - 2016-08-11 09:51 +0200
          Re: Script to Increment an arbitrary Field Nelson <nelson@nowhere.com> - 2016-08-12 06:18 -0400
            Re: Script to Increment an arbitrary Field ursus <ursus.kirk@gmail.com> - 2016-08-12 13:12 +0200
              Re: Script to Increment an arbitrary Field Nelson <nelson@nowhere.com> - 2016-08-12 09:53 -0400
                Re: Script to Increment an arbitrary Field Helpful Harry <HelpfulHarry@BusyWorking.com> - 2016-08-13 09:48 +1200
                Re: Script to Increment an arbitrary Field Martin Τrautmann <t-usenet@gmx.net> - 2016-08-14 12:56 +0000
        Re: Script to Increment an arbitrary Field Nelson <nelson@nowhere.com> - 2016-08-12 06:14 -0400
          Re: Script to Increment an arbitrary Field clkaufmann@gmx.ch (Christoph Kaufmann) - 2016-08-14 20:51 +0200

csiph-web