Simplicty and flexibility!


Support::

Welcome To The DQL Programmer S Guide


Parameters


Returns/Result


Examples


Reference

Welcome to the DQL Programmer's Guide

DQL Basics

Welcome to the DQL Programmer's Guide

The DataEase Query Language (DQL) extends the data processing and reporting capabilities of DataEase far beyond those of a standard form or report. In addition to letting you list, modify, and delete selected records, DQL lets you:

  • Create batch processing procedures to enter, modify, or delete sets of records instead of processing each record individually as changes are made in User View.

  • Use a special Data-entry form L to collect selection criteria, processing instructions, and other user input each time a procedure is run.

  • Monitor the entry of new records and determine how each record is processed depending on its field value.

  • Use global variables to pass values from one DQL Procedure to another.

  • Call and chain together menuscall_menu, forms, reports, other DQL Procedures - even other programs - and link these actions together into a single automated Control procedure.

 

Who Should Read this Book

This book is written for professional application designers, system administrators, and experienced users who want to create DQL programs to extend the power of their applications.

If you are responsible for designing custom applications, you'll find reference information on creating tables, forms, reports, and menus, defining relationships, and other database design guidelines in the DataEase Designer's Guide (DG).

If you use an application designed by someone else, you'll find all the information you need in the companion volume, DataEase User's Guide (UG).

Before you begin working with DQL, we recommend that you read the DataEase User's Guide (UG) and Designer's Guide (DG) and become thoroughly familiar with DataEase record entry and document creation operations.

 

How this Book Is Organized

This book is organized into four sections, as follows:

Section I, Orientation, introduces the main features of the DataEase Query Language and the DQL editing environment, and explains the basic methods used to create a DQL Procedure. Section I contains Chapters I, 1, and 2.

Section II, Scripts, guides you through the creation of several simple and complex DQL Procedures. Section I1 explains all major DQL concepts and methods, including Control and Processing Procedures, Data-entry forms, and accessing data stored in an SQL database. Section 11 contains Chapters 3, 4, and 5.

Section III, Tech Tips, answers your most frequently asked DQL questions, solves the most common programming problems, and offers creative examples and short-cuts that show how you can get the most from DQL. Section III contains Chapters 6 and 7.

Section IV, Keywords, contains the DQL Lexicon, a dictionary-style reference that explains every command, function, and feature of DQL. Most entries in the DQL Lexicon section include a DQL script sample to illustrate how a particular DQL term is used in a script. Section IV contains Chapter 8.

 

Typographical Conventions

Throughout the DataEase manuals, we've used the following typographical conventions to make the documentation easier to understand.

 

Term

Typeface Used

Example

 

Glossary Term

Italic

Data Model

Menu Option

Bold

File>>Open

Function Key

Uppercase

F7 DELETE RECORD

Application Name

bold

Club ParaDEASE

Document/Table Name

Uppercase

MEMBERS

Field Name

Small Capitals

FIRSTNAME

DQL Term

Bold Lowercase

highest of

SQL Command

Uppercase Courier

CREATE TABLE

 

Glossary terms with special meaning in DataEase are printed in italics the first time they occur in the text and are defined in the on-line glossary available in Help.

When a menu option is explained, a pull-down menu appears in the upper right-hand corner of the page. The menu option under discussion is highlighted, as in the illustration below:

 

image\dqli-4.gif

DataEase function keys are assigned names (F2 SAVE AS NEW RECORD). However, you need only press the F2 key to execute the command; you do not need to type SAVE AS NEW RECORD. The key name is included in the documentation to help you recall the purpose of each key when you are learning the product.

See Also


On the forum about Welcome To The DQL Programmer S Guide

[@EOF@]...

Product: . Written by alembagheri tahmas 07/12/13 at 13:37:32

Hi there,I am trying to use an external MySQL DB in dataease. I have successfully create the ODBC link and added the DB to dataease. I can also access the DB from dataease. Now, just for testing purposes, I am trying to create a simple report b...

Product: DataEase for Windows 7.x. Written by George Washington 11/04/14 at 08:26:17

no se pude exportar ahora archivos a pdf, ni a excel o otros cosa mala. en verdad creo que hace faltaen las versiones anteriores me funcionaba mas o menos bien. le hace falta a los aplicativos que se desarrollan en Dataeasegr...

Product: DataEase 8 Reporter. Written by eduardo paez 02/05/14 at 14:40:11

Thanks. Anyway I'm trying to use this fuction but it seems to me that it doesn't work on 8.2. I tried also in a DQL.There's something wrong?<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA9IAAAJ3CAYAAAB4NWk3AAAAAXNSR0IArs4...

Product: . Written by Marco Marchesi 15/02/16 at 14:50:46

[@EOF@]...

Product: Dataease [{8}]FIVE. Written by Chamil Rajindra 21/02/19 at 10:17:46

Thanks for the very good explanation!AS...

Product: . Written by afonso santos 28/10/19 at 00:50:14

I am pleased to see that the migration from Dos 4.53 is then sa 5.5 works. A really useful thing would be a compiler of SQL languages. Will you get there?Original Text:Mi compiaccio a vedere che la migrazione da Dos 4.53 è poi sa 5.5 funzio...

Product: . Written by Grossi Gioacchino 18/11/19 at 14:33:44

How can i delete a Style sheet?...

Product: Dataease [{8}]FIVE. Written by Rainer 22/03/21 at 11:13:10

I run W7 and since a few days&nbsp;Dataease 8.5 is not starting any more, do you have an idea? i installed it again but that did not help....

Product: Dataease [{8}]FIVE. Written by Rainer 08/06/21 at 14:12:40

[@EOF@]...

Product: . Written by Hiralal Rampul 01/12/21 at 17:47:10

On the blog about Welcome To The DQL Programmer S Guide


dg3_HelpView