docs

Home All functions Legacy functions Categories

vuMailSelectCSV(xCsvFilePath)

Clarion prototype

Prototype: vuMailSelectCSV(*CSTRING OutText), SIGNED, PROC, PASCAL, RAW, NAME(‘vuMailSelectCSV’)

Purpose

Selects an existing CSV file so later vuMailAppendCSV() calls append rows to that file.

Parameters

Return value / error codes

| Value | Meaning | |—|—| | 1 | CSV file exists and is now selected. | | 0 | Failed. Common cases are blank path or file not found. Use vuMailLastError() for details. |

Example (Clarion)

csvPath CSTRING(260)
rc      LONG

csvPath = 'C:\Temp\mailout.csv'
rc = vuMailSelectCSV(csvPath)
IF rc = 0
  MESSAGE('Select CSV failed: ' & vuMailLastError())
END

Notes

Home All functions Legacy functions Categories