Results 1 to 2 of 2
  1. #1
    Frits1969 is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2016
    Location
    Delft, Netherlands
    Posts
    1

    check, create and link a table in BE?

    Hello all,



    I am using MS Access 2016.
    I have a BE and FE. So all the tables are in the BE and the forms are in the FE.

    I want from a form with VBA check if exists a table.
    If it does not exist, I want to create it with VBA and then link it to the FE.

    However, I have no idea how I can do this.

    I like to hear it from more experienced Access users.

    Thank you very much in advance,
    Frits van Leeuwen

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    you need to open a copy of the backend in vba, create your new table, then add a linked table in the current database


    to open a copy of the backend - see this link https://msdn.microsoft.com/en-us/lib...ffice.12).aspx

    to create the new table, see this link https://msdn.microsoft.com/en-us/lib...or=-2147217396

    to create a link to the new table see this link https://msdn.microsoft.com/en-us/lib.../ff196455.aspx

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 17
    Last Post: 09-02-2015, 09:05 PM
  2. Replies: 15
    Last Post: 11-18-2013, 10:49 PM
  3. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  4. Create link table to .dbf that contains memo feald
    By vskarica in forum Import/Export Data
    Replies: 3
    Last Post: 10-06-2010, 12:08 AM
  5. Create the link
    By accessman2 in forum Access
    Replies: 0
    Last Post: 03-13-2006, 01:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums