---
name: "DlpMoveCategory"
section: "3"
platform: "linux"
package: "coldsync"
version: "3.0+pre3-3"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/DlpMoveCategory"
---

# DlpMoveCategory(3)

change the ID of a Palm database category

## NAME

**DlpMoveCategory** – change the ID of a Palm database category

## LIBRARY

*libpconn*

## SYNOPSIS

**#include \<palm.h\>**

**#include \<pconn/pconn.h\>**

*int*\

**DlpMoveCategory**(*PConnection \*pconn*, *const ubyte handle*, *const ubyte from*, *const ubyte to*);

## DESCRIPTION

**DlpMoveCategory** changes the category ID of a category in a Palm database.

*handle* specifies the database handle, as returned by [DlpOpenDB(3)](/DlpOpenDB/3.md).

*from* specifies the ID of the category to change.

*to* specifies the new ID to which to change the category.

## RETURN VALUE

**DlpMoveCategory** returns 0 if successful, or a negative value otherwise.

## SEE ALSO

[libpconn(3)](/libpconn/3.md), [DlpOpenDB(3)](/DlpOpenDB/3.md).

## BUGS

This function has not been tested.
