Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

IField::VBS_GetText

Retrieve the contents of the specified field.

 

Function VBS_GetText(row as Variant, column as Variant, buffer As Variant, bufsize As Long) As Long
 

Parameters

NoNameTypeOptionalDefaultDescription
1row

Variant

No-

row inside the field for which you want to retrieve the data

2

column

Variant

No

-

column inside the field for which you want to retrieve the data

3

buffer

Variant

No

-

Buffer to hold the copied data on output.

3

bufsize

Long

No

-

Maximum length of the string to retrieve

Return Code

Description

JGS_OK

The specified field was copied successfully

JGS_PARAMETERERROR

Missing or invalid parameter

JGS_MEMORY

Not enough memory to complete the operation

JGS_NOTCONNECTED

Your application is not connected to a valid session

JGS_TRUNCATED

The field contents were copied successfully but the field was longer than the buffer size and the data was truncated

JGS_POSITIONERROR

The screen position was invalid

JGS_SYSERROR

The function failed due to a system error

JGS_NOFIELD

The screen is not formatted


Sample Code


 

Dim row as Variant
Dim column as Variant
Dim myBuffer as Variant
Dim myLength as Long
Dim result as Long
myLength = 200
row = 18
column = 45
result = field.VBS_GetText(row, column, buffer, myLength)
 

Back to IFiend members

 


QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.

 

  • No labels