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


Groups > comp.databases.filemaker > #2414

Re: FMS 11 Scripting

From SciFi_Reader <SciFi_Reader@nowhere.com>
Newsgroups comp.databases.filemaker
Message-ID <2015100209245185209-SciFiReader@nowherecom> (permalink)
References <2015100108515775158-SciFiReader@Bellsouthnet> <021020151317014456%HelpfulHarry@BusyWorking.com>
Subject Re: FMS 11 Scripting
Organization Public Usenet Newsgroup Access
Date 2015-10-02 09:24 -0500

Show all headers | View raw


On 2015-10-02 01:17:01 +0000, Helpful Harry said:

> In article <2015100108515775158-SciFiReader@Bellsouthnet>, SciFi_Reader
> <SciFi_Reader@Bellsouth.net> wrote:
> 
>> I'm trying to tip my toes in sever side scripting, and running into a
>> couple of problems:
>> 
>> 1 ) I'm trying to install the free plugin "BaseElements" on the server;
>> I've set the Owner:Group, and rwxrwxr.x permissions, and still get the
>> oh so helpfull error "Pluging not loaded".
>> Anyone have any ideas on that?
> 
> Most plug-ins need to be installed on the user's computers, not the
> server ... unless the server is running scripts itself that rely on
> that plug-in.
> 
> Did you quit and restart the FileMaker Server? It could simply be that
> the plug-in doesn't actually work with the Server version of FileMaker
> or perhaps requires a different license code.

	this is a pluging made to be used in both contexts [client and server]
	I actually did restart FileMaker server as well as the Mac it is 
running on several times.
	I found out that the plugin on the main page for download was v14 only 
(would've been helpfull to have that displayed), and changed it out for 
a v11 specific one; and think I have that problem solved,


> 
> 
> 
> 
>> 2 ) I'm try to do a simple script to find a set of records that meet a
>> computed critea:
>> a varible, unstored, that does the following calculation [ if
>> (on_order + on_backorder > On_hand + Rec_Today + On_Vendor_Order, 1,
>> "")  ]
>> try to do a find on that varible = 1, errors out with "error 16",
>> basicly it dosen't like the find for some reason.
>> Any ideas on this one?
>> 
>> THANKS !! for any and ALL help.
> 
> If you really mean "variable", then my educated guess, not having used
> them, is that variables are not stored per record and therefore are not
> usable as the target in a Find request.
> 
> You'd be best using a new Calculation field, and then performing the
> Find on that.
> 
> In terms of a Server, Global Fields and variables are unique to each
> user (rather than stored on the server for all users) and lost when the
> FileMaker user quits, which makes them either useful or useless,
> depending on what you're trying to achieve.
> 
> Helpful Harry  :o)

Harry;
	here is the actuall code of the varible and the script below:

NeedsToBeOrderedFlag: Calculation unstored
	If((Customer Open Orders + Qty On Back Order) > (Qty On Hand + Vendor 
Open Orders + Received Today);1;"")


	Enter Browse Mode []
	Show All Records

	Go To Layout ["Qty's to Order"]
	Enter Find Mode []
	Set Field [NeedsToBeOrderedFlag; 1]
	Perform Find []    ----here is were it borks on the server but not on client



THANKS Harry for the responce and Help!!!!

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


Thread

FMS 11 Scripting SciFi_Reader <SciFi_Reader@Bellsouth.net> - 2015-10-01 08:51 -0500
  Re: FMS 11 Scripting Helpful Harry <HelpfulHarry@BusyWorking.com> - 2015-10-02 13:17 +1200
    Re: FMS 11 Scripting SciFi_Reader <SciFi_Reader@nowhere.com> - 2015-10-02 09:24 -0500
      Re: FMS 11 Scripting Howard Schlossberg <howard@nospam.fmprosolutions.com> - 2015-10-02 09:39 -0700
        Re: FMS 11 Scripting SciFi_Reader <SciFi_Reader@nowhere.com> - 2015-10-02 16:53 -0500
          Re: FMS 11 Scripting Howard Schlossberg <howard@nospam.fmprosolutions.com> - 2015-10-02 20:30 -0700

csiph-web