Home

Getting Started

Utilities

Indexing

Omnidex

Development

Tutorials

Quick Links

 

OmniAccess API

Functions

Syntax

Options

Example

 

OmniAccess API

Programming Basics

Managing Data

Functions

 

OADELETEINDEX

oadeleteindex deletes the current row's key values from the Omnidex indexes.

 

Syntax

oadeleteindex (instance, options, status, table, columns, buffer, rowid)

instance -- Identifies a unique connection to an OMNIDEX environment as established by oaconnect. Instance is a 32-bit signed integer passed by value as it was returned by oaconnect.

options -- Is reserved and must contain a semicolon or a null character.

status -- Indicates the success or failure of the oadeleteindex routine. A zero status.error means a successful call to oadeleteindex. The status structure is passed by reference and contains fourteen 32-bit signed integers, followed by a 36-character buffer.

table -- Is a character value passed by reference and terminated with a semicolon or null character. Table contains the name of the table where the row to be deleted resides.

columns -- Is a character value passed by reference that specifies columns from table that correspond to the columns to be deleted. Columns must contain column names separated by commas, in the order that they are defined for the table in the Omnidex environment catalog, or an asterisk ( * ) to represent all column names.

full_buffer -- Points to a buffer area that contains the data from the deleted row. This is the data that oadeleteindex will delete from the Omnidex indexes.

rowid -- The identifying value for the row that was deleted. The size and type of this parameter depends on the database management system from which the row will be deleted. Consult both your Omnidex Operating System Supplement and the Omnidex Database Integration Guide for details on getting the native row ID in a given data management system.

 

 

Options

There are currently no options available for oadeleteindex. Support is provided for future enhancements.

 

Example

 

Top