ComponentOne True DataControl 8.0
RaiseError Method

 

RaiseError Method

Used to specify error description in user mode events.

Syntax

TData.RaiseError (ErrorNumber, Source, Description, [HelpFile], [HelpContext])

Remarks

Method applies to TData control.

Arguments: ErrorNumber is a Long integer that identifies the nature of the error.

Source is a string naming the object or application that generated the error.

Description is a string describing the error.

HelpFile is an optional string containing the fully qualified path to the help file in which help on this error can be found.

HelpContext is an optional Long integer, the context ID identifying a topic within helpfile that provides help for the error.

Return Value: None

This method can be used in user events mode (DataMode = 2 – UserEvents) event procedures to describe an error detected while performing operations with a customized data source. Intended for use in the following events: UserReadData, UserWriteData, UserAddData, UserDeleteRow, UserFindData.

See Also

TData Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback