Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Set Popup-Property of form via VBA

4 views
Skip to first unread message

Andreas Noll

unread,
Jan 17, 2000, 3:00:00 AM1/17/00
to
I need to know how to set the value for the popup-property of a form.
I want to do that with some code, in which i want to loop over all froms
of my db
and set there something like myFrm.Popup = true....

How to do that?

Thanks in advance,
Andreas Noll
Siemens AG, ICP CD Mobile Phones, Germany

Dev Ashish

unread,
Jan 17, 2000, 3:00:00 AM1/17/00
to
Air code:

Dim ctr as Container
Dim db as Database
Dim doc as document

set db=dbEngine(0)(0)
set ctr=db.Containers!Forms
for each doc in ctr.Documents
with doc
docmd.OpenForm .name, acDesign
forms(.name).Popup=true
docmd.Close acform, .name, acSaveYes
end with
next
set doc=Nothing
set ctr=Nothing
set db=Nothing

--
Dev Ashish (http://www.mvps.org/access)

"Andreas Noll" <Andrea...@mch.siemens.de> wrote in message
news:3883333F...@mch.siemens.de...
: I need to know how to set the value for the popup-property of a form.

:
:

0 new messages