TrueFalseAnswer Property

Specifies whether the client should show True or False as an answer instead of a table.

Syntax

value = QueryCmd.TrueFalseAnswer

Part Description
value A Boolean value that returns one of the following values:

True—When the answer to a question should be expressed as Yes or No rather than displaying the result table.

False—When the answer to the question can be displayed as a result table.

QueryCmd An object variable that instructs the client to execute SQL.

Applies To

QueryCMD

Remarks

This property is read-only. It indicates that the user asked a Yes/No quesion, not a question that should return a result table. In this case, if the SQL returns no rows, the answer to the question is No. Otherwise, the answer is Yes.

See Also

DisplayRows Property, DisplayToUser Property, IgnoreError Property, SQL Property, TableCaption Property


(c) 1996-1998 Microsoft Corporation. All Rights Reserved.