<< Click to Display Table of Contents >> Navigation: Apollo API Listing > sx_GetLogical |
Declare Function sx_GetLogical Lib "Apollo9.dll"
(ByVal cpFieldName As String)
As Integer
SHORT FAR PASCAL sx_GetLogical
(BYTEP cpFieldname);
Determines whether a logical field contains a True or False value.
Note: Many of the sx_Get* functions can be replaced with a single call to sx_GetVariant. The sx_Get* functions that return specific data types are primarily for C programmers who cannot use sx_GetVariant.
cpFieldName: The name of the field.
True if the field evaluates as True, and False if not.
' use logical values to set radio buttons
CarOwner.Value = -sx_GetLogical("OWNS_AUTO")
HomeOwner.Value = -sx_GetLogical( "OWNS_HOME" )
SHORT iValue;
iValue = sx_GetLogical("married");