of_isdatetype


pfcmain.pbl   >   pfc_u_calendar   >   of_isdatetype   

Full name pfc_u_calendar.of_isdatetype
Access protected
Extend of boolean
Return value boolean
Prototype protected function boolean of_isdatetype(string)

Name Datatype
No Data

Name Datatype
lb_date boolean

protected function boolean of_isdatetype (string as_type);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_IsDateType
//
//	Access: 			Protected
//
//	Arguments:
//	 as_type			The type to test for.
//
//	Returns: 		Boolean
//						True if the parameter is of type 'date'.
//
//	Description:	Determines if the passed in type is of type date.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
boolean lb_date

// Check the required argument.
If IsNull(as_type) Then
	Return False
End If

lb_date = ((as_type = 'date') or (as_type = 'datetime'))
Return lb_date

end function

     
Name Owner
pfc_u_calendar.of_register pfc_u_calendar
pfc_u_calendar.of_register pfc_u_calendar
pfc_u_calendar.of_dropdown pfc_u_calendar
pfc_u_calendar.of_GetRegisterable pfc_u_calendar

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data