Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4797 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

This topic is 4797 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.