PreviousNext
Help > Development > ASProperty > Parameters
Parameters

 

Result

Boolean. True if success, False if failed.

FileName

Character string

Name of the file in the analysis for what a property is to be changed. This is the WinDev name, not the AS/400 name!

If FileName is an empty string, the property will be changed for the connection, and so, for all the AS/400 files attached to the connection.

 

Property

Character string.

One value into the following table:
               

 

Property

 

Value-Type

Value description

MEMBER

String

Name of the file member to use.

If the file has multiple members, the first i=one is open by default.

File must be open after calling ASProperty.

The member name can also be set by the extended info :

MAIN=BIBLIO/FILE(MEMBER)

ALIASPATH

 

String

Path where the Alias file is located (*._AS)

The alias files were used with WinDev 5.5. It is recommended to use extended info with WinDev 12.

ONLYALIAS

 

Boolean

Ignore extended info for the file, and use the Alias file, like i twas used with WinDev 5.5.

CACHESIZE

Integer

Maximum Number of records read.in one shot into the record cache.

FORWARDONLY

Boolean

Set the cursor non scrollable, for better performances.

The file can be read forward only.

CACHEDINSERT

Boolean

When set to true, Records are kept in a cache before to be inserted into the file.

This property must be used carefully, while function HInsert will not insert the records in real time.

Records are physically inserted when Easycom cache is full, or when you set again this property to False.

You must set this property to False when the last record is inserted, in order to flush the cache, and write the data to the file.

 

Value

New value for the property.

 

Connection (optional)

Connection to AS/400