[AccessD] ISLOADED fails?

Charlotte Foust cfoust at infostatsystems.com
Fri Apr 17 10:43:20 CDT 2009


What object are you testing or trying to test?  Subreports and subforms
don't return a true, IIRC, only their parent.

Charlotte Foust 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte
Sent: Friday, April 17, 2009 8:36 AM
To: accessd at databaseadvisors.com
Subject: [AccessD] ISLOADED fails?


Hello All,

 

Using Access'03 the function isloaded does not always return the correct
value?

 

Function IsLoaded(strName As String, _
Optional intType As Integer = acForm) As Boolean IsLoaded =
SysCmd(acSysCmdGetObjectState, _ intType, _
strName) = acObjStateOpen

End Function

 

Any thoughts?

 

Thanks,

 

Mark

_________________________________________________________________
Rediscover Hotmail(r): Now available on your iPhone or BlackBerry
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover
_Mobile2_042009
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list