Omnis Programming

Omnis Software Ltd

July 2019



The software this document describes is furnished under a license agreement. The software may be used or copied only in accordance with the terms of the agreement. Names of persons, corporations, or products used in the tutorials and examples of this manual are fictitious. No part of this publication may be reproduced, transmitted, stored in a retrieval system or translated into any language in any form by any means without the written permission of Omnis Software Ltd.
© 1999-2019 The Apache Software Foundation. All rights reserved.
This product includes software developed by the Apache Software Foundation (
OMNIS® and Omnis Studio® are registered trademarks of Omnis Software Ltd.
Microsoft, MS, MS-DOS, Visual Basic, Windows, Windows 95, Win32, Win32s are registered trademarks, and Windows NT, Visual C++ are trademarks of Microsoft Corporation in the US and other countries.
SAP, R/3, mySAP,, xApps, xApp, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world.
IBM, DB2, and INFORMIX are registered trademarks of International Business Machines Corporation.
UNIX is a registered trademark in the US and other countries exclusively licensed by X/Open Company Ltd.
Sun, Sun Microsystems, the Sun Logo, Solaris, Java, and Catalyst are trademarks or registered trademarks of Sun Microsystems Inc.
MySQL is a registered trademark of MySQL AB in the United States, the European Union and other countries (
ORACLE is a registered trademark and SQL*NET is a trademark of Oracle Corporation.
SYBASE, Net-Library, Open Client, DB-Library and CT-Library are registered trademarks of Sybase Inc.
Acrobat is a trademark of Adobe Systems, Inc.
Apple, the Apple logo, AppleTalk, and Macintosh are registered trademarks and macOS, Power Macintosh and PowerPC are trademarks of Apple Computer, Inc.
HP-UX is a trademark of Hewlett Packard.
OSF/Motif is a trademark of the Open Software Foundation.
CodeWarrior is a trademark of Metrowerks, Inc.
This software is based in part on the work of the Independent JPEG Group.
This software is based in part of the work of the FreeType Team.
Other products mentioned are trademarks or registered trademarks of their corporations.

About This Manual

This manual focuses on the programming and higher level aspects of developing applications in Omnis Studio, and includes information about creating and using List Variables, accessing and managing SQL databases, as well as describing various development tools in Omnis such as the VCS.

In addition to these manuals, there are the Omnis Reference manuals, and a comprehensive Help system describing the Omnis Studio commands, functions, and the notation, available from within the Omnis Studio development environment using the F1 key.

If you are new to Omnis Studio

When you start Omnis Studio you will see the Hub in the Studio Browser (if this is not showing press F2) which provides information to help you get started in Omnis Studio. You can look at the example Omnis applications under the Applets and Samples options: you can open each example in your web browser or within Omnis itself and you can examine the Omnis code in the associated library under the Libraries option in the Studio Browser.