$PBExportHeader$f_xls_chkdw.srf global type f_xls_chkdw from function_object end type forward prototypes global function boolean f_xls_chkdw (string arg_dataobject) end prototypes global function boolean f_xls_chkdw (string arg_dataobject);datastore ds ds = create datastore ds.dataobject = arg_dataobject String result result = ds.Describe("Datawindow.Objects") if isnull(result) or result = '' then return false return true end function