# Synopsis

PDX_MSGT gdx_ReplaceEntity(long option, MDA_PTR old_ptr, MDA_PTR new_ptr)

# Purpose

Replace the old entity with the new entity

# Description

This function will update all occurrances of the old entity with the new entity and update back pointers and so on.

The old entity will be deleted

# Input

## option

Options (not used)

## old_ptr

The old database pointer to be replaced

## new_ptr

The new database pointer.

# Return

          GDX_NOERR
          Low level error return
          .fi