V. DATAform database interface
121
Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de
V. DATAform database interface
This interface offers a ready to use connection between a 4D database (www.4D.com) and
DATAformXTension for QuarkXPress.
If you use another database language than 4D, you must develop similar procedures in your
language. The document DATAform 4D...TXT contains all the procedures as plain text.
Take these procedures as a suggestion or template.
The interface simplifies and standardises the reading and writing of a text with DATAform-
Tags. It is basically a translator of DATAformTags into the text array DX_Array and likewise
creates a text with DATAformTags from the DX_Array. The user of the DATAform 4D inter-
face therefore writes to and reads from the DX_Array only. He has no direct contact with the
text with DATAformTags, but uses just the Array.
In addition to this the interface contains with DX_Message the complete handling of the mes-
sage interface for the remote control of QuarkXPress.
Installation
The procedures are available as a 4D insider document and as a text file.
The 4D insider document contains:
Copy all the components from this window into your own 4D structure:
-
Select all components (command A) and drag them to your application.
-
With a later update installation set 4D insiders Moving Preferences for forms and methods
to Replace. After moving all elements 4D insider will state: Tables [DX_Table]: This
table already exists. Choose the option Do not copy. OK. Done.
The procedures are conceived for use in compiled form; the database should be compiled with
4D compiler.