Brian Dunning's FileMaker Custom Functions

@SqlUpdateBE ( _database ; setFldRefOrName ; _setValue ; whereFldRefOrName ; _whereValue )

Modifies matching records in the FM database by executing an SQL UPDATE statement with the BaseElements plugin.

  Average rating: 5.0 (1 vote) Log in to vote

Alex Zueiv   Alex Zueiv - Show more from this author
Tashkent
https://github.com/zueiv

Share on Facebook Share on Twitter

  Sample input:
@SqlUpdateBE ( "" ; Table::FieldToSet ; "value to set" ; Table::FieldToMatch ; "matching value" )
  Sample output:
none or ? if failed

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Requires the BaseElements plugin.
Supports all field types except Container.
Allows to modify tables in another file.

WARNING: This CF modifies ALL matching records in the DB!

 

Comments

Philippe Auguste Louis   Philippe Auguste Louis, MWH Suisse SA
Jul 26, 2020
Great CF, thanks Alex
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: