Help

Table Of Contents
Creating a database
F
ILEMAKER PRO HELP 214
Ensure Allow Solutions to Install Files is selected in the
FileMaker Pro Plug-in preferences."
Else If [Get(LastError) = 1550]
Show Custom Dialog [Plugin Update::Plugin File & " was installed
but could not be initialized."]
Else If [Get(LastError) = 1551]
Show Custom Dialog [Plugin Update::Plugin File & " could not be
installed."]
Else
Show Custom Dialog ["A general error " & Get(LastError) & " occured
when installing " & Plugin Update::Plugin File]
End If
End If
5. Create the following script and name it Check Plug-in Versions.
Go to Layout [“Plugin Update Information”]
Go to Record/Request/page [First]
Loop
If [Plugin Update::Installed Plugin Version <
Plugin Update::Required Plugin Version]
#Plug-in needs to be either installed or updated.
Perform script [“Install plug-in”]
End If
Go to Record/Request/page [Next; Exit after last]
End Loop
6. Create the following script and name it Check If Enabled:
Set Error Capture [On]
Perform Find [Restore]
#Find for "Enabled" in the Installed Plugin State field
If[Get(FoundCount) 0]
Show Custom Dialog ["Some required plug-ins are not enabled. Ensure
Allow Solutions to Install Files is selected in the FileMaker
Pro Plug-
in preferences."
End If
7. Create a start-up script named Plugin Update Script that references the above scripts in
order when the database opens:
Perform Script ["Check Plug-in Versions"]
Perform Script ["Check If Enabled”]
Go to Layout [original layout]