Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Edgar is offline Competent Performer
    Windows 8 Access 2016
    Join Date
    Dec 2022
    Posts
    274
    Quote Originally Posted by Vita
    If I use the batch method it shouldn't be hard. It's a small enough company I can call 2-3 people and get everyone to close it out for 5 minutes.
    I have not read the entire thread. But by looking at this:
    Quote Originally Posted by Vita
    it prompts for update and will run a query to copy and replace all the forms and modules.
    I hope that it all works well in the end for you but, in my experience, if one thing goes wrong, corruption will happen, access is a very sensitive application and it will complain in the worst way possible. Instead, there should be an orchestrator outside to do at least this operation:
    1. Renames old front end file as backup
    2. Copies new front end file


    3. Moves backup to backed up files folder
    4. Exits
    This way you can revert changes should that be necessary. Otherwise, well, you replaced things that were working before, now you'll have to figure out what went wrong.

    Edit:
    Replaced is not the right word, Destroyed is a much more appropriate word.

  2. #17
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    write a batch file that cycles through the folder and stores the name of the file before copying the master and renaming it to the stored value.
    Unless things have changed, you can't overwrite Access files in use, so you end up with different versions in use at the same time. Don't overthink it - either just download and open every time, or open db, check version in fe table (or custom db property but table is simpler) and shut down if they don't match, then let them do whatever to replace their fe. The only thing you need to do is make sure the newly deployed fe has the new custom property value or the table has the proper value.

    EDIT - Just saw prior post. Yes you can call everyone - pita and useless if they're at a meeting or out of the office for a bit.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #18
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    I am sure your time could be better utilised making something you need, not reinventing the wheel?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Retrieve Day Number From Day Name
    By DMT Dave in forum Access
    Replies: 3
    Last Post: 02-17-2020, 06:21 AM
  2. Retrieve entered value
    By zipaway in forum Programming
    Replies: 3
    Last Post: 06-10-2014, 08:53 AM
  3. retrieve Column Name
    By drunkenneo in forum Queries
    Replies: 6
    Last Post: 10-31-2013, 11:50 PM
  4. retrieve value from another form
    By joshynaresh in forum Forms
    Replies: 4
    Last Post: 10-27-2013, 03:39 AM
  5. ADODB Retrieve Value with SQL Help
    By kawi6rr in forum Programming
    Replies: 3
    Last Post: 05-07-2011, 02:03 PM

Tags for this Thread

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