1 Reply Latest reply on Oct 24, 2012 12:01 AM by Sorbsbuster

    Auto detect FMP or Web Access

    NilsMortenAlexandersen

      Title

      Auto detect FMP or Web Access

      Post

           Good morning all ...

           Can I write a startup script that auto detects if the DB is accessed by the FMP application itself, or by web access ? I am still on FMP 10.

           Based on this detection ... I need the following step to guide the user to a dedicated Welcome Layout, that is tailored to meet the requierments for the spesific flatform.

            

           My DB now lives on a FM server, if that is relevant at all ... Web Publishing has been set up, and is working

        • 1. Re: Auto detect FMP or Web Access
          Sorbsbuster

               Use Get ( ApplicationVersion ).  It returns:

                                                                                                               
                                   
                              
                                   
          Pro version for FileMaker Pro
                              
                                                                                                               
                                   
           •
                              
                                   
          ProAdvanced version for FileMaker Pro Advanced
                              
                                                                                                               
                                   
           •
                              
                                   
          Runtime version for FileMaker Runtime
                              
                                                                                                               
                                   
           •
                              
                                   
          FileMaker Web Publishing version for FileMaker Web Client
                              
                                                                                                               
                                   
           •
                              
                                   
          Web Publishing Engine version for FileMaker Server Web Client
                              
                                                                                                               
                                   
           •
                              
                                   
          xDBC version for xDBC Client
                              
                                                                                                               
                                   
           •
                              
                                   
          Server version for FileMaker Server