2.9.227 Rfs

The Rfs structure specifies record filtering and the other mail merge properties.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

A

B

C

D

E

F

G

unused2

hsttbRfs

A - fShowData (1 bit): Specifies whether the data are shown in the merged fields. If this value is set to zero, only the merged field names are shown.

B - grfChkErr (2 bits): An integer that specifies the settings for error checking and reporting. It MUST be one of the following values.

Value

Meaning

0

Simulate the merge and report errors in a new document.

1

Complete the merge and pause to report errors.

2

Complete the merge and report errors in a new document.

C - fManDocSetup (1 bit): Specifies whether the main document envelope or mailing labels are set up.

D - fMailAsText (1 bit): Specifies whether the e-mail message is in plain text format.

E - unused1 (1 bit): This bit is undefined and MUST be ignored.

F - fDefaultSQL (1 bit): Specifies whether the default SQL query string is "SELECT * FROM x".

G - fMailAsHtml (1 bit): Specifies whether the e-mail message is in HTML format.

unused2 (8 bits): This field is undefined and MUST be ignored.

hsttbRfs (2 bytes): An unsigned integer that specifies whether SttbfRfs exists in Pms. If SttbfRfs does not exist in Pms, hsttbRfs MUST be zero. If Pms contains SttbfRfs, hsttbRfs MUST be nonzero (any nonzero value).