Create a FileMaker Pro v4 File
This How To will walk you through creating a simple FileMaker Pro v4 file. The example we will use is for keeping track of our office publications. A database allows you to sort the information in various ways and also allows you view the information in different report views too.
Create a FileMaker Pro file
-
Open FileMaker Pro.
-
From the File menu, choose New.
-
Name the file.
-
Save the file in correct location.
Save in our class folder or place in appropriate folder in My Documents.
-
Create the following fields and click Create after each one.
|
Field Name
|
Field Type
|
|
Title
|
Text
|
|
Price
|
Number
|
|
Pub Number
|
Text
|
-
HINT: Use a number field only for fields you are going to do actual calculations.
-
HINT: Use the word Calc in the field name of your calculations.
-
When finished, click Done.
-
A layout with the above fields are created and you will automatically go to Browse Mode.
-
Enter your records.
Change the size of a field
If you enter information and the field doesn't show all of the information, you can make the field larger.
-
From the Mode menu, choose Layout.
-
With the pointer tool, select the Title field.
-
Click, hold, and drag the resize handle to increase the length of the field.
-
The resize handle is the lower right corner.
-
Repeat as needed.
-
Return to Browse Mode when finished.
Move a field
-
From the Mode menu, choose Layout.
-
With the pointer tool, select the field you wish to move.
-
Shift-click on the field text or layout text so you move that along with the field itself.
-
Drag the field(s) to their new new location.
-
You may need to go back to Browse Mode to see the affect.
Add additional fields to the file
These fields will be "special". We will use the Auto-enter option and create a simple calculation. First, set the preferences so FileMaker adds the new fields automatically to the layout you are working in.
-
Edit menu to Preferences, slide right to Application.
-
Select the Layout tab.
-
Check Add newly defined fields to current layout. Click Done.
Now you can add your new fields.
-
From the File menu, choose Define...choose Fields.
-
Enter Handling as a number field. Click Create.
-
With Handling still selected, click Options.
-
Make sure the Auto-enter tab is selected. Place a checkmark beside Data.
-
Enter .75 and click OK.
-
Note: .75 will automatically be added to all new records.
-
Create another field for Calc Cost (which stands for calculated cost).
-
Make it a Calculation field. Click Create.
-
Click Options.
-
Since we chose a Calculation it will automatically open a calculator to create the calculation.
-
Double-click on Price
-
Single-click or type in the operator (+).
-
Double-click on Handling.
-
Look in the Calculation Result area. Make sure your result is set to Number.
-
Click OK, click Done.
-
These new fields have been added to your file.
-
If necessary add the handling cost to the initial records.
Add layout text and edit the font
Sometimes it is necessary to add more text to a layout that isn't associated with a field. You can then edit the text to make it look better.
-
From the Mode menu, choose Layout.
-
Select the Text (A) Tool on left side.
-
Click with I-beam near the middle of the header or whenever you want to add text.
-
Type your text.
-
Ex: Publication Directory
-
Select the Arrow tool.
-
Click the text box you just made.
-
Change it's format:
-
Format menu - Size - 14 pt
-
Format menu - Style - Bold
-
You can also move this text to another location.
-
Select the arrow tool.
-
Click hold and drag the center of the text field to another location.
Create a new Layout
You may want to change the look or appearance of the data on the screen and on a report which is a printed copy. We can change the view of your data.
-
From the Mode menu choose Layout.
-
From the Mode menu choose New Layout.
-
Name the layout Publication Directory.
-
Select Columnar Report. Click OK.
-
We now need to add the fields we want to use in this layout.
-
NOTE: You may not want/need to add all the fields. Add only the ones needed.
-
Select Title, click Move.
-
Title should now appear on the right side.
-
You can also double click to move the fields automatically.
-
Double-click on Calc Cost.
-
When you have entered or moved all of the fields, click OK.
-
From the Mode menu choose Browse.
-
Again you may need to resize your fields or move fields to make them appear better.
-
Refer to steps given above.
Rename a Layout
-
Go to the layout you want to change the name.
-
From the Mode menu choose Layout.
-
From the Mode menu choose Layout Setup.
-
In the Layout Name enter the name of the layout.
-
Click OK.
-
Return to Browse Mode.
-
New name appears above the bookmark area. (upper left corner)
Number Formatting
You may want to change the formatting of your numbers, ie, so they line up with the decimal or show the $.
-
From the Mode menu choose Layout.
-
Select the number field you want to edit.
-
From the Format menu choose Number.
-
Make the appropriate selections.
-
ex: Format as decimal; use notation $
-
Click OK.
-
Return to Browse Mode to see your changes.
Edit Text field
-
From the Mode menu choose Layout.
-
Select the Text (A) tool.
-
Select the text field you want to edit.
-
ex: Remove Calc. from Calc. Cost
-
When done, click outside the text field.
-
Return to Browse Mode to see your changes.
Create a FileMaker Pro 4 file
02/03/04; updated 11/08/05