DOCC 4D Source Code Library Features

DOCC is a 4D Source Code Library designed to bring robust turn-key document management capabilities to your 4D Server databases.

DOCC Features 

1)      The DOCC Document repository is maintained outside of the 4D database. This is a major advantage if you have a large document/image management requirement. Maintaining numerous large blobs in a 4D data file would quickly cause it to grow to an unmanageable size.Furthermore, although I have not benchmarked this, there is a definite performance advantage to keeping the document files outside the 4D data file. This would become especially appreciable as the size/number of documents that you are storing grows.Also, there is an advantage if a web deployment of the documents/images was implemented by using the 4D web server or a third-party web server, since the external web server could access the documents/images natively via the computerís file system. DOCC can also be configured to place the document repository on the server computer wherever you wish or on another network volume. You can configure repositories on a by user, by subject or other basis.

2)      DOCC breaks the transported document into smaller sized chunks of data for transport to and from the 4D Server computer. This chunk approach means that the maximum document size is increased dramatically beyond the limits of 4Dís client-server protocol timeout limits etc. The chunk size is definable by the developer in the DOCC_INIT routines.

3)      Fully 'pointerized' code design.DOCCís low level commands (DOCC_) need no developer work.DOCCís high level commands (DLIB_) are developer methods that you will edit to integrate DOCC into your application.

4)      Quick Installation.Your application can be upgraded to offer robust document management in less than 1 hour

5)      DOCC uses an alpha key field in the [DOCC_Document] table, but you can refer to either numeric or alpha fields as the index key field in your document target tables so no changes need to be made to your existing tables to deploy DOCC.

6)      DOCC supports document management in an unlimited number of your database tables.Itís modular design allows you to deploy document management functions in several tables in either single document per record mode or multi-document per record mode.

7)      DOCC has a built-in document browser screen that lets you browse all documents across all tables in your database.

8)      DOCC captures all technical information about the document. Creator type, Date, Time, etc.See figures below for further details.

9)      DOCC supports inclusion of enhanced information such as document description, keywords, etc.See figures below for further details.

10)  DOCC is sold as a non-transferable 4D Source Code Library. The delivery includes a full installation manual, a sample database, and a 4D Insider library file. Please specify your platform of choice when ordering.

11)  DOCC does not require any plug-ins. AP Sublaunch and AP ShellExecute can be used to optionally view stored documents.

12) Supports Macintosh resource fork, even in a Windows 4D Server implementation.

Figure 1. Built-in Document Browser:

Figure 2.Document Information Screen:


DOCC Testimonials

"I'm very pleased with DOCC. The code is clearly written and well documented, and the speed is excellent. This is a solid product and a tremendous value!" David Barr, Apogee Design

"DOCC is an excellent tool that helps you quickly add document managment features to your 4D database. We had it up in about an hour. The author is quick to respond and receptive to new ideas." Barclay Berry, Director of Computer Services, Eberle Vivian Self Insurance Administrators

"We had attempted doing document management with 4D Server in the past but could not reliably send large files. Considerable cost was incurred before we gave up. Once we discovered DOCC, we were managing our documents on 4D Server within 24 hours of placing the order. Great work..." Don Cockburn, CUSO

DOCC Pricing

The DOCC 4D Source Code Library package is licensed for both Macintosh and Windows platforms. There are no annual licence fees.

  • Developer Licence - Non transferable source code - Macintosh and Windows - $129 USD
  • Single 4D Server Deployment Licence - Macintosh and Windows - $249 US
  • Unlimited 4D Server Deployment Licence - Macintosh and Windows - $419 USD

A Developer Licence is a prerequisite before purchasing a Deployment Licence.

Demonstration databases

Download the DOCC demo database (compiled) for 4D Server 2003 Windows - .zip

Download the DOCC demo database (compiled) for 4D Server 2003 Macintosh - .zip


Please refer all questions/comments/requests to Nufocus Inc. at

Sign up now for Paypal:
Pay me securely with your Visa, MasterCard, Discover, or American Express card through PayPal!
VisaMasterCardDiscoverAmerican Express