Results 1 to 8 of 8
  1. #1
    jker is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Aug 2023
    Posts
    36

    how to transfer/copy selected objects


    I installed a database application on a clients computer. I will be making modifications on my computer. Is there anyway I can just transfer that one object (form or report) to clients computer?

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    If it can be done by exporting I'd like to be in on the discovery.
    Usual approach is to open the target db and use the 'get data' functions on the ribbon and import the needed objects. Your question suggests that the target db is not split. If it was it should be a simple matter of modifying a front end at your location and replacing the target db (front end) with that.
    Last edited by Micron; 09-18-2023 at 09:52 AM. Reason: clarification
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    use a macro since its easier to fill in the boxes, but use:

    docmd.TransferDatabase acExport ,"Micrsoft Access",sTargDbName, acForm ,"fMyForm","fMyForm"

    youll have to pick the object name (acForm, acTable, etc)

  4. #4
    jker is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Aug 2023
    Posts
    36
    Hello Micron,

    I tried your method and it works perfectly. But, i noticed the new form i copied is numbered as 1. So i deleted the old for and renamed the new form... Is that a normal behaviour when copying objects?

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    the copy will not overwrite existing, so it assigns a number every time you copy it.
    remove old ver, then rename and remove the 1.

  6. #6
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    For reference, you can also drag and drop database objects from one database to another. See Drag & Drop Database Objects (isladogs.co.uk)
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  7. #7
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    I made the assumption that one db was local, the other remote because you say one belongs to a client/customer. Given that you were able to do this using the Ribbon, I guess neither db is remote.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  8. #8
    xps35's Avatar
    xps35 is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jun 2022
    Location
    Schiedam, NL
    Posts
    232
    If it is a split database (front end and back end) you can simply replace the front end. If it is not split, split it!
    Groeten,

    Peter

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

Similar Threads

  1. Selected row from table to query transfer
    By dimsums in forum Access
    Replies: 6
    Last Post: 09-08-2020, 06:36 PM
  2. Replies: 4
    Last Post: 02-28-2018, 01:12 PM
  3. Replies: 3
    Last Post: 03-29-2017, 05:21 AM
  4. Get objects selected in the database window
    By jptros in forum Programming
    Replies: 2
    Last Post: 08-02-2012, 04:39 PM
  5. Problem - Objects Pointing to Table Copy
    By Linda in forum Access
    Replies: 1
    Last Post: 03-22-2010, 10:52 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