Entry points > Module Common Data > Standard script CONNECTFCT 

PIVOTSFILE

This entry point is used to specify a file encoding type, a column separator or a record separator if those defined by default for the connector do not match.

For each of the adxirs,  adxifs,  adxium variables, it is possible to give or not a value if that define by default for the connector does not match.

These assignments can be conditioned by the calling function (and thus the connector used) by testing variable GACTION.

Context and operating mode

In the context of the entry point :

  • There is no current transaction
  • A trace file is open

Transaction

There is no transaction in progress.

Log file

There is an open log file.

Available screen and file classes

The mask of the connector launch screen is open.

Example of usage

Case ACTION
When "PIVOTSFILE": Gosub PIVOTSFILE
Endcase
Return

$PIVOTSFILE
If GACTION='MMSINT': # MMS CONNECTOR
    adxium = GASCII: # or GUTF8
    adxifs = ',': # default value for all connectors is ';'
    adxirs = chr$(13)+chr$(10): # or chr$(10)
Endif
Return