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

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

Recommended Posts

Posted

Does anyone have any thoughts on receiving "Unknown Error" from FileMaker on a commit() command?

I have one page where a user can click a link and "sign up" on a slot. It works, using setField() and commit().

I have another page where a user can click on his own name to "unsign" from the slot. It does not work, also using setField() and commit(). I can't for the life of me see any difference in the commit commands. This is code from the page that does NOT work:


$findCommand = $fm->newFindCommand($layoutName);



$findCommand->addFindCriterion('n_SlotID', $slotID );



$result = $findCommand->execute();



$records = $result->getRecords(); 

$currentRecord = $records[0];



$currentRecord->setField('tUser_ID', $nullText);

$currentRecord->commit();

This topic is 5581 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.