FileMaker Network Sharing

The easiest way to share your data is with FileMaker Network Sharing. If you already have a network in your office, and a few copies of FileMaker, you're ready to share your database. First, you put all your databases on one computer. Then open those files, change a few settings in each file, and call that computer the host. Every other computer that opens those files is called a guest, since it opens the same databases that are on the host. Up to five guests can connect to one host.

Once you're set up, all five people can work in the database at the same time, adding, editing, and deleting records, performing finds, printing, and running scripts. No two people can work in the same record at the same time, though. Once you're sharing files, you need to revisit the topic of record locking. See the box on Section 18.2.1.1 for a refresher.

18.1.1. Setting Up a Host Computer

To set up the host, open the databases you want to share on one computer. Then choose Edit Sharing images/U2192.jpg border=0> FileMaker Network (Windows) or FileMaker Pro images/U2192.jpg border=0> Sharing images/U2192.jpg border=0> FileMaker Network (Mac OS X). Either way, you see the FileMaker Network Settings dialog box: command central for all file sharing. Choose the database youre setting up from the list at left (if it's not there, make sure the file's open). Then, as described in Figure 18-1, turn sharing on.

Figure 18-1. The FileMaker Network Settings dialog box lets you set up your database host. The first step is to turn on Network Sharing, by clicking the On radio button. When you do, FileMaker shows the computer's TCP/IP address, if it's connected to the network. (If you don't see a valid TCP/IP address, you may have network problems.)

Once you've turned Network Sharing on, turn your attention to the lower-right corner of the dialog box.

Choose one of the following three settings to control who gets access to the file:

  • All Users means that anybody on your network with a copy of FileMaker and a valid account can get in, so long as only five people are on at a time.
  • Specify users by privilege set. When you choose this option, you see a dialog box listing all your privilege sets. Click the checkbox to the left of each privilege set that should have access to the file.
  • No users. If a file needs to be open on the host, but you don't want it shared, choose this option.

When you make changes to these settings, FileMaker is actually making changes to the privilege sets in the selected file (Section 16.2). When you turn on "All users," FileMaker simply turns on the "Access via FileMaker Network" extended privilege for every privilege set. Likewise, if you choose "No users," it turns this extended privilege off for every set. When you specify people by privilege set, you get to decide which privilege sets have this extended privilege turned on. If you prefer, you can make these changes manually in Extended Privileges tab of the Define Accounts & Privileges window (File Define images/U2192.jpg border=0> Accounts & Privileges). Look for the [fmapp] extended privilege if youre setting access manually (Section 16.4.2).


Tip: You can control the access settings for each file even if you don't turn on network sharing. The settings you make to a file stick with that file even when you move it to another computer, so you can use this window to set the sharing options for a file before you send it to the host computer.


The "Don't display in Open Remote File dialog" option may seem odd at first, but it's actually very useful. Suppose you have a database system that's made up of several files, but you want your users to open only a specific one (because only one file has an interface and the others just hold data, for example). You want only that main file visible in the Open dialog box, so nobody opens the wrong one. Careful, though, you still need to share the other files. To share a file without showing it in the list, turn on the "Don't display in Open Remote File dialog" option in all the files you want hidden.

18.1.2. Opening a Shared File

Once you turn on network sharing and set it up to share at least one file, you can access that file from another computer. Just launch FileMaker Pro on another computer on the network, and then follow these steps:

  1. Choose File Open images/U2192.jpg border=0> Remote.

    Select the appropriate host from the Hosts list.

    The shared files show in the Available Files list. (If the host computer you're looking for isn't listed, see the box on Section 18.2.1.1 for advice.)

  2. Select the file you want to open from the Available Files list, and then click Open.

    If you've added accounts to the file, FileMaker asks you for an account name and password. When you give it what it needs, the database opens.

Figure 18-2. The Open Remote File dialog box lets you find files that are shared on the network. This box lists all the hosts it can find in the Hosts list. Select a host to see all the available files in the list to the right. If you like the typing thing, you can enter exactly what FileMaker needs in the Network File Path box.


Note: When a database opens from a host, FileMaker puts the host name in parentheses in the window title bar to help you keep things straight. If you don't like seeing host names in your window's title bars, use the Set Window Title step to change that name in an open script.


Part I: Introduction to FileMaker Pro

Your First Database

Organizing and Editing Records

Building a New Database

Part II: Layout Basics

Layout Basics

Creating Layouts

Advanced Layouts and Reports

Part III: Multiple Tables and Relationships

Multiple Tables and Relationships

Advanced Relationship Techniques

Part IV: Calculations

Introduction to Calculations

Calculations and Data Types

Advanced Calculations

Extending Calculations

Part V: Scripting

Scripting Basics

Script Steps

Advanced Scripting

Part VI: Security and Integration

Security

Exporting and Importing

Sharing Your Database

Developer Utilities

Part VII: Appendixes

Appendix A. Getting Help



FileMaker Pro 8. The Missing Manual
FileMaker Pro 8: The Missing Manual
ISBN: 0596005792
EAN: 2147483647
Year: 2004
Pages: 176

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net