Namespace: Consultingwerk.OERA
Class 
DatasetBufferFieldErrorString Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:DatasetBufferFieldErrorString
Purpose:More OO-like method to set the ProDataset Buffer's ERROR-STRING
and ERROR attributes compared to the DatasetHelper:AddErrorString,
used from the DatasetErrorString class
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Nov 15 19:16:05 CET 2020
Notes:PACKAGE-PROTECTED Constructor from OpenEdge 12.2 on
Purpose: Returns the HANDLE of the ProDataset buffer
Notes:



Top Method Summary
Options Name Purpose
+ Consultingwerk.OERA.DatasetBufferFieldErrorString AddErrorMessage (character) Adds an Error message for a field to the ProDataset Buffer ERROR-STRING attribute
+ Consultingwerk.OERA.DatasetBufferFieldErrorString ForField (character) Returns the DatasetBufferFieldErrorString instance to set an error string for the given field

Top Constructor Summary
Options Name Purpose
+ DatasetBufferFieldErrorString (handle, character) Constructor for the DatasetBufferFieldErrorString class

Top Property Summary
Options Name Purpose
+ HANDLE BufferHandle
+ CHARACTER FieldName


Method Detail
Top

PUBLIC Consultingwerk.OERA.DatasetBufferFieldErrorString AddErrorMessage (character)

Purpose: Adds an Error message for a field to the ProDataset Buffer
ERROR-STRING attribute
Notes: Also sets ERROR on the Buffer and ProDataset

Parameters:
pcMessage CHARACTER
The error message to add
Returns Consultingwerk.OERA.DatasetBufferFieldErrorString
The DatasetBufferFieldErrorString instance
Top

PUBLIC Consultingwerk.OERA.DatasetBufferFieldErrorString ForField (character)

Purpose: Returns the DatasetBufferFieldErrorString instance to set an
error string for the given field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the temp-table field
Returns Consultingwerk.OERA.DatasetBufferFieldErrorString
The DatasetBufferFieldErrorString instance


Constructor Detail
Top

PUBLIC DatasetBufferFieldErrorString (handle, character)

Purpose: Constructor for the DatasetBufferFieldErrorString class
Notes: Package Protected from OpenEdge 12.2 on

Parameters:
phBufferHandle HANDLE
The handle of the ProDataset Buffer
pcFieldName CHARACTER
The name of the Buffer Field


Property Detail
Top

PUBLIC HANDLE BufferHandle


Returns HANDLE
Top

PUBLIC CHARACTER FieldName


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:45