Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Names of Forms in Access Project

Discussion in 'Information Technology' started by Joe Delphi, Nov 14, 2005.

  1. Joe Delphi

    Joe Delphi
    Expand Collapse
    Guest

    Hi,

    I am converting an Access .mdb file to an Access .adp project. I need
    to know a way to get a list of all of the forms in the .adp project. When
    it was an .mdb file, I used this command:

    VariableX = CurrentDb.Containers("Forms").Documents("frm" & Plan & "_"
    & Format(i, "00"))

    Now that this is an .adp project, the CurrentDB command no longer works.

    Does anyone know the equivalent to CurrentDB that should be used for an
    ..adp project?\

    Any help appreciated.

    JD
     
  2. Loading...

    Similar Threads Forum Date
    Politics These are the names of 21 children killed in Gaza Breaking News Jul 12, 2014
    Sikh Names... Ideas? Sikh Sikhi Sikhism Jul 5, 2014
    Canada Canada names park after first Sikh settler Breaking News Jan 15, 2014
    India Sikhs of Northeast, South India Don't Flaunt Surnames: Study Breaking News Aug 29, 2013
    Canada Employers Favour English-sounding Names Breaking News Oct 14, 2011

  3. Van T. Dinh

    Van T. Dinh
    Expand Collapse
    Guest

    Check Access VB Help on the "AllForms" Property of the "CurrentProject"
    Object.

    --
    HTH
    Van T. Dinh
    MVP (Access)



    "Joe Delphi" <delphi561@nospam.cox.net> wrote in message
    news:DLPdf.65$6u6.29@fed1read01...
    > Hi,
    >
    > I am converting an Access .mdb file to an Access .adp project. I need
    > to know a way to get a list of all of the forms in the .adp project.
    > When
    > it was an .mdb file, I used this command:
    >
    > VariableX = CurrentDb.Containers("Forms").Documents("frm" & Plan & "_"
    > & Format(i, "00"))
    >
    > Now that this is an .adp project, the CurrentDB command no longer works.
    >
    > Does anyone know the equivalent to CurrentDB that should be used for an
    > .adp project?\
    >
    > Any help appreciated.
    >
    > JD
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page