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 20 tips:
- Utility Method Returns Index based on queryString
- Use named placeholders to handle spaced field names in ORDA queries
- Use the “On Backup Shutdown” Method to Alert Administrators of Backup Fail
- Multiple Ways to Print to PDF Programmatically
- Collection .sort() Function
- ProcDump requires admin permissions to run
- Username and password not accepted (535-5.7.8 smtp.gmail.com error)
- Utility Method to Reduce Collections
- Use GOTO OBJECT Command to Dynamically Set Next Object in Entry Order
- FileClass .getAppInfo() on Mac
- Utility Method Filter Collection for Desired Type
- Including images in HTML emails converted from WP documents
- Utility Method to Escape Strings for URLs
- Spotting memory leaks with info reports component
- Hotkeys to Choose a Different Data File Upon Opening a Database
- Considering Daylight Savings
- Properly Restrict Users from Having Designer Rights
- “The database or component needs to be recompiled” error
- Filtering commands in debug log 6
- Defining the Set of Characters to be used by 4D Web Serve