Share this page

# vtc_clear_column

Deprecated. Use lrvtc_clear_column. Clears all data in a column.

## C Language

    VTCERR2 vtc_clear_column ( PVCI2 pvci,  char *column_name, unsigned short *outRc );

## C# Language

    bool vts_multi.clear_column ( long pvci,  string column_name);

Data Update Functions

## Arguments

Name | Comments
--- | ---
pvci | The server connection handle.
column_name | The column name.
outRc | The return status. 1 - Pass or 0 - Fail

vtc_clear_column clears the data in all the rows of the specified column.

## Return Values

C Language: Returns zero on success or one of the Error Codes.

C# Language: Returns true on success.

## Parameterization

All string input arguments can be passed using standard parameterization.

## C Language Example

    int      rc = 0;
    unsigned short outrc;
    PVCI2     pvci = 0;
    ....
    rc = vtc_clear_column(pvci, "C_credit", &outrc);
    lr_log_message("clear_column rc=%d\n", outrc);

## C# Language Example

.Net Multiple Connection Example

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: