September 27, 201114 yr I have a pretty simple php page that creates a new record in a table using the GET parameters in the URL to populate the field values as such: $request = $fm->newAddCommand('WebReplies'); $request->setField('to', $_GET['to']); $request->setField('from', $_GET['from']); $request->setField('msg', $_GET['msg']); $request->setField('userfield', $_GET['userfield']); $request->setField('date', $_GET['date']); $result = $request->execute(); This works well - one of the fields that is being set is then used as a match field in a relationship, and there are a number of auto enter calculation fields in the same table that are set to auto enter the related value from the matching record. This works fine when created using FileMaker Pro when when it's created using the PHP API the auto enter calc fields are blank. I gather auto enter calc fields aren't triggered via the PHP API in the same way when created using FileMaker Pro? The relationship exists as I have other related fields on the same layout which display once the record has been created, it's just the local auto enter calc fields that don't fire. Anyone been here before and know of an easy fix to get the auto enter calc fields to evalulate once the record has been created? Many thanks, Steve
Create an account or sign in to comment