Welcome to SPN

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

Sign Up Now!

Re: Linking tables with DDL

Discussion in 'Information Technology' started by david epsom dot com dot au, Nov 7, 2005.

  1. david epsom dot com dot au

    david epsom dot com dot au
    Expand Collapse
    Guest

    Application.CurrentProject.Connection.Execute _
    "create view myview as select * from [c:\dev9.mdb].[table1]"

    The view will not be visible in the Access database window
    unless the database is in "ansi" mode, but you can use
    the view in queries or code:

    ?codedb.openrecordset("myview").Fields(0).name
    id

    (david)


    "Ivan Debono" <ivanmdeb@hotmail.com> wrote in message
    news:%23QNKzoF2FHA.3524@tk2msftngp13.phx.gbl...
    >I usually do that with SQL Server (Enterprise Manager) but how about with
    >DDL?
    >
    > Ivan
    >
    > "david epsom dot com dot au" <david@epsomdotcomdotau> schrieb im
    > Newsbeitrag news:ucOx0lC2FHA.556@TK2MSFTNGP12.phx.gbl...
    >> The DDL equivalent would be to create a view
    >> that references the source database.
    >>
    >> (david)
    >>
    >>
    >> "Ivan Debono" <ivanmdeb@hotmail.com> wrote in message
    >> news:e$YIUL%231FHA.3524@tk2msftngp13.phx.gbl...
    >>> Hi all,
    >>>
    >>> I have to mdb databases and I want to link a table in one mdb into the
    >>> other mdb. Is it possible to do it using DDL?
    >>>
    >>> Thanks,
    >>> Ivan
    >>>
    >>>

    >>
    >>

    >
    >
     
  2. Loading...


Share This Page