Jump to content

MenuControl Startup Script Problem


This topic is 7236 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I purchased MenuControl from Dacons, Inc. so I could make custom menus in FileMaker. Alas, FileMaker does not accept the steps in the startup script. According to instructions from Dacons, the startup script should have the following steps:

Allow User Abort [Off]

Set Field ["Result","External("Cont-Set-RegName","-name-")"]

Set Field ["Result","Cont-Set-RegCode","-code-")"]

(where my name and registration code are substituted in -name- and -code-, respectively).

But FileMaker doesn't accept either Set Field statement; it says it's missing an operator. This is my second plug-in (the first being FileBooks, which I finally got working after trading e-mails with Happy Software for several days). So I'm still a newbie with this stuff. Dacons tech support is useless--I think they're just distributors. If you're an expert plug-in wiz, please respond. Copy me directly at [email protected] Thanks.

Link to comment
Share on other sites

Thanks to [email protected] for helping me out. The correct startup script is as follows:

Allow User Abort [Off]

Set Field [file::result; External("Cont-Version","")]

Set Field [file::result; External("Cont-Set-RegName","-name-")]

Set Field [file::result; External("Cont-Set-RegCode","-code-")]

Here, file is the database table name, result is a global text field, and -name- is name and -code- is the registration code. Anyway this now works.

Link to comment
Share on other sites

This topic is 7236 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.