Brian Dunning's FileMaker Custom Functions

cfCourtStyle ( plaintiffs, defendants, rightTop, rightMiddle, rightBottom )

Style for top of a legal document to be filed in court

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

Robert D Trammel   Robert D Trammel - Show more from this author
https://www.linkedin.com/in/robertdtrammel/

Share on Facebook Share on Twitter

  Sample input:
cfCourtStyle( "John Doe"; "Mega Corp¶Mini Corp"; "IN THE JUSTICE COURT"; "DISTRICT 1-2"; "DALLAS COUNTY, TEXAS" )
  Sample output:
JOHN DOE                             §    IN THE JUSTICE COURT                
    Plaintiff,                       §     
                                     §     
VS.                                  §    DISTRICT 1-2
                                     §     
MEGA CORP; and                       §     
MINI CORP                            §     
    Defendants.                      §    DALLAS COUNTY, TEXAS

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

Created to create a more dynamic styling to accommodate for plaintiffs, defendants and courts with longer or shorter names. Items on the right are wrapped based on items on the left. You can change the divider or column size, but this seems to satisfy data merges into Word documents. This can take a list of plaintiffs or a single plaintiff, and a list of defendants, or a single defendant. The left column will wrap and resize, and the right column will wrap using the space created by the left column. This satisfied all of the cases we had, but I think it would probably be beneficial to figure out how to make the left side resize in the event that the data in the right column needs more rows.

 

Comments

Robert D Trammel   Robert D Trammel
Aug 20, 2024
This was difficult to work out. But basically it's a manual way to create two columns of text. Specifically for styling on legal documents. I hope this can help someone to not have to work this out.
 

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: