Welcome to SPN

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

Sign Up Now!

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
    >
    >
     

Share This Page