DISC

Contents | What's New | Quick Links

 

OmniAccess API

Introduction

Software Installation

Concepts and Design

Designing Applications

Omnidex Environments

SQL Reference

Omnidex API's

Utilities

Interfaces

Performance Guide

Troubleshooting Guide

Appendix

 

 

Undetermined Criteria

 

oaassignvalues can be used to apply criteria that is not previously known.

For example, the criteria for a query (query2) may actually be the results of another query (query1).

Query1 may select the customer numbers from the Orders table, for all canceled orders.

Query2 then selects the company name, contact, and phone number from the Customers table for the customer numbers that were returned from query1.

In this case, the results of query1 are placed in the $VALUES buffer and used in the WHERE clause of query 2, WHERE customer_no in $VALUES.

 

OmniAccess API

Status Array

Select List

Functions

Connect to an Environment

Open a Cursor

Manage Data Across Cursors

Manage Large Lists of Records

Convert Data Types

Undetermined Criteria

Another example would be an online application that allows the user to specify multiple criteria. The criteria is not known until the user makes their choices. The criteria choices are placed into the $VALUES buffer and applied to the query in the WHERE clause.

 

top

Dynamic Information Systems Corporation - Omnidex Version 3.8 Build 6 J15.03-Copyright © 2003

DISC | Documentation Home