Access - formulario abierto?

 
Vista:

formulario abierto?

Publicado por Racsus (40 intervenciones) el 20/05/2003 12:00:10
Hola

como puedo saber si un formulario esta abierto a través de codigo?

gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:formulario abierto?

Publicado por JesusAtp (4 intervenciones) el 22/05/2003 00:24:05
Function fIsLoaded(ByVal strFormName As String) As Integer
'Returns a 0 if form is not open or a -1 if Open
If SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> 0 Then
If Forms(strFormName).CurrentView <> 0 Then
fIsLoaded = True
End If
End If
End Function
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar