Share this page

# lrvtc.dropIndex

Deletes the index on a column.

Example | Global Functions

## Syntax

    lrvtc.dropIndex ( columnName );

## Arguments

name | Comments
--- | ---
columnName | The name of the column to remove the index from.

lrvtc.dropIndex deletes a column index created with lrvtc.ensureIndex.

## Return Values

Returns zero on success or one of the Error Codes.

## Parameterization

All string input arguments can be passed using standard parameterization.

## Example

    var rc = 0;

    rc = lrvtc.createColumn("Name");
    if(rc) {lr.errorMessage("Create column failed.");}

    rc = lrvtc.dropIndex("Name");
    if(rc) {lr.errorMessage("Index operation failed.");}

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: