DeletePrompt method: Query class

Syntax

DeletePrompt(PromptNumber)

Description

The DeletePrompt method deletes a prompt from a query definition.

Parameters

Parameter Description

PromptNumber

Specify the numeric location in the query definition of the prompt that you want to delete.

Returns

An integer value: 0 means the query was deleted successfully.