4D Write Pro commands in preemptive processes

Automatically translated from English

With 4D v16, you can improve your database scalability using the new 4D Write Pro commands in preemptive processes.

If you are doing routines for creating or converting documents programmatically – e.g. invoices … you can now do it with preemptive workers as most 4D Write Pro commands are now thread safe!

The list of thread-safe 4D Write Pro commands is already long:

  • WP New
  • WP Import document
  • WP EXPORT VARIABLE
  • WP EXPORT DOCUMENT
  • WP Get range
  • WP GET PARAGRAPHS
  • WP GET PICTURES
  • WP SET ATTRIBUTES
  • WP GET ATTRIBUTES
  • WP RESET ATTRIBUTES
  • WP Is font style supported
  • FONT STYLE LIST
  • FONT LIST
  • WP INSERT BREAK
  • WP INSERT DOCUMENT
  • WP DELETE BOOKMARK
  • WP Get bookmark range
  • WP GET BOOKMARKS
  • WP CREATE BOOKMARK

You can check in the documentation to see which commands are thread safe with this icon: preemption-xx

If you want to know more about preemptive processes, just take a look at this post!

Roland Lannuzel

• Product Owner & 4D Expert •

After studying electronics, Roland went into industrial IT as a developer and consultant, building solutions for customers with a variety of databases and technologies. In the late 80’s he fell in love with 4D and has used it in writing business applications that include accounting, billing and email systems.

Eventually joining the company in 1997, Roland’s valuable contributions include designing specifications, testing tools, demos as well as training and speaking to the 4D community at many conferences. He continues to actively shape the future of 4D by defining new features and database development tools.