Xbasic

PRINT_LETTER Function

Syntax

C print_letter(C letter_name [,C filter [,C order [,* options ]]])

Arguments

letter_name

The name of a saved letter. Character

filter

Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects records from the table.

order

Optional. Default = record order. A character order expression that sorts selected records.

options

*

Description

PRINT_LETTER() creates the selected letters and then displays the Print dialog box.

Example

PRINT_LETTER("Letter to Customers", "Company > " + quote("M"), "Bill_Postal_Code")

Limitations

Desktop applications only.

See Also