AZMY
Thinkware, Inc
General Order FormSupport CenterSearch this web siteAbout Azmy

 

DM API Online help

 

SQWriteFacts Function


The SQWriteFacts function writes the generated facts in a text file using the specified format.

Syntax

int SQWriteFacts(     
  const char* szFileName,
  int iFormat
);

Parameters

szFileName

[in]        Name of the text file to write facts.

iFormat

[in]        0 to write facts in a tab delimited format (Percent, IfColumn, IfValue,   ThenColumn, ThenValue, NoRows, Level, and Time ).

               1 to write facts in a report form.

Return Value

Number of facts written in the file.

Remarks

SQWriteFacts: function writes the generated facts in a text file using the specified format, if the format passed is 0, the function will write facts in a if – then format. If the format is 1, the function will write facts in a report format.

Example

See example 2, example 3

 

 

Copyright © 1996 - 2007 AZMY Thinkware Inc. All rights reserved.