Solved

Update a field for all records in a table

Posted on 2014-10-08
2
132 Views
Last Modified: 2014-10-09
I have File Maker Pro 8.5.
I have a table called Clients.
There is a field called Warning - this is a radio button and another field called Twomonthsdue.
For all records in the table I want to do the following:
  - Set Warning to 1
  - If Twomonthsdue>0 then set warning to 4

This is a one off requirement. I only need to do this once in order to tidy up some incorrect data in the database.

This would be easy for me if it was dbase but I'm very green when it comes to File Maker so clear instructions would be appreciated.
0
Comment
Question by:akb
2 Comments
 
LVL 4

Accepted Solution

by:
historychef earned 500 total points
ID: 40370192
You can do a "Replace Field Contents" on that field (it's on the Records menu). Start by showing all records in the table. Select in the Warning field, then select "Replace Field Contents", then select "Replace with calculated result" with the following calculation:

If ( Twomonthsdue > 0; 4; 1 )

It will all be done in a few seconds.
0
 
LVL 13

Author Comment

by:akb
ID: 40370279
Thanks historychef. You are a legend!
I had spotted that option in the menus but it was greyed out. Soon worked out that I needed to have the field selected, then it all worked like a dream.
Then I read your reply again and realised that you told me "Select in the Warning field" - DOH!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Toggle button 2 166
Filemaker webdirect on Android - Taking pictures 2 156
Filemaker Go to FMS - Low cellular signal 2 86
url for a container field 1 556
Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question