Tips & Tricks for your 4D Apps – January 2023 Edition

by Add Komoncharoensiri, Director of Technical Services at 4D Inc


Here we go with another set of tips and tricks.

The 4D Knowledge Base is a library of information about 4D technology where weekly tech tips and monthly tech notes are actively published. If you missed the last tips on the KB, that’s fine; here is a compilation from the past few weeks.

This blog post covers 25 tips:

  1. MacOS upgrades may change license folder permissions
  2. Folder .delete() Function and Hidden.DS_Store Files
  3. How to copy a collection of entities
  4. Deprecated or Removed Connectivity Products as of 4D v19
  5. Specifying Server Address for Built 4D Client Server Applications
  6. Utility method to create local info report every x ticks
  7. Storing Object Fields Outside Data File
  8. How to fix the “Package name segment” build error
  9. Set the “Editable by user” Setting for Lists in Binary Databases v18 and Up
  10. 4D Write Expand Function for 4D Write Pro
  11. Sort Collection of Strings in Numeric Order
  12. Check which video codecs are supported in the web area
  13. The available tab when connecting remotely only shows servers on default port 19813
  14. User and Groups Owner Behavior with Deletion
  15. Use the “Compare Strings” Command to Compare Hidden Characters
  16. Finding Index in Collection with Formula
  17. Finding out whether a database will work when converted to a newer version
  18. Entry Order and the “Tabable” Property in Binary vs. Project Mode
  19. Create a group as Administrator to save/load group membership changes
  20. Utilizing User Database Settings
  21. Connect to a compiled 4D app with M1 Machine
  22. USERS TO BLOB will return an empty blob in project mode
  23. How to quickly obtain current 4D application version info
  24. Recreate .4DSettings File in a Built 4D Application
  25. Monitoring Backups


Add Komoncharoensiri
Add Komoncharoensiri has been a key member of the technical support team since 2000. Komoncharoensiri began his career with the company as a Technical Support Engineer and then worked his way up to 4D Evangelist in 2003, followed by Internal Application Manager in 2006 and then to Director of Technical Services in 2007.Add received a BS degree in Computer Sciences from San Jose State University in 2000. He is passionate about user experience (UX) and user interface programming. He helped develop and manage the 4D Knowledgebase and 4D Partner Central websites.