Skip to content

SHOWTF ​

Returns the value of a logical field as Yes/No, True/False, or On/Off.

Reporting Area(s) ​

General

Required Parameters ​

  1. Logical Field (i.e. cocancel, nudfl1,rgwaitlist)

Optional Parameters ​

  1. Numeric return value (default is Yes/No):

1= return True/False

2= return On/Off

Example(s) ​

SHOWTF(nudfl1) returns Yes if field value is .t. (box is checked)., No if field value is .f. (box is unchecked).

SHOWTF(rgcancel,1) returns True if registration is canceled, False if it is not.

ACEweb Examples:

XCourseStatus.htm

##SHOWTF(tCrseUdfs.cudfl1)## returns Yes if field value is .t. (box is checked), No if field value is .f. (box is unchecked).

##SHOWTF(tCrseUdfs.cudfl1,1)## returns True if field value is .t. (box is checked), False if field value is .f. (box is unchecked).

Person.awp

<%=SHOWTF(This.Page.oName.oData.nudfl1,2)%> returns On if field value is .t. (box is checked), Off if field value is .f. (box is unchecked).

Notes ​

Logical fields are usually check box fields, such as Print Label Flag, Report Flag, and Don't Mail Flag on the Names screen; Active, Canceled, and Locked on the Course screen; and Cancel, Waitlisted, and Group on the Registration screen.