Solved

Update a field for all records in a table

Posted on 2014-10-08
2
136 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FM - Phantom MIssing Field in DDR? 5 150
FileMaker PDF Page Size 4 146
Filemaker Pro 14 Server - Webdirect - Insert from device 2 133
Filemaker Server as a Web Portal - Licensing 3 208
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…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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