Results 1 to 12 of 12
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Using VBA or macros to build a database


    The Microsoft websites suggests using macros if you publish a database to the web. But what about this. Suppose I want to add an Access database to Google Drive. Then my coworkers can access the Access database when they need to.

    In this case, should I use VBA or macros? Please give pros/cons. Better to find out before I start.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    AFAIK, publishing db to the web via SharePoint requires macros and a web db design. I've no experience with Google Drive. How do coworkers work with the database? Is it a split design? Do they open frontend on their local computer that links to backend on Google Drive? Or is it an all-in-one db and users all open the same file?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    Quote Originally Posted by June7 View Post
    AFAIK, publishing db to the web via SharePoint requires macros and a web db design. I've no experience with Google Drive. How do coworkers work with the database? Is it a split design? Do they open frontend on their local computer that links to backend on Google Drive? Or is it an all-in-one db and users all open the same file?
    I was planning on loading the entire database file to Google Drive then they can access it. Sounds like that does not mean splitting the DB.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Multiple users opening the same file can be problematic. I have one db used this way on our network server and no issues yet but still have fingers crossed.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    Quote Originally Posted by June7 View Post
    Multiple users opening the same file can be problematic. I have one db used this way on our network server and no issues yet but still have fingers crossed.
    Ok. Do you have any suggestions to deal with this?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Ideally, multi-user db is split. I don't know anything about Google Drive. I have seen several threads on the topic. Try search.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    TimF is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Posts
    5
    Quote Originally Posted by Access_Novice View Post
    Ok. Do you have any suggestions to deal with this?
    Yeah you have a front end that all users can have their own copy of, and instead of a table in that database you create your table in another blank database and link the front end to the table in the other database.

    It is easiest to develop your database with the table unlinked, then before releasing it to users just create a copy with the table and create the link.

  8. #8
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    Quote Originally Posted by June7 View Post
    Ideally, multi-user db is split. I don't know anything about Google Drive. I have seen several threads on the topic. Try search.
    Cool. I will keep that in mind. Thank you.

  9. #9
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    Quote Originally Posted by TimF View Post
    Yeah you have a front end that all users can have their own copy of, and instead of a table in that database you create your table in another blank database and link the front end to the table in the other database.

    It is easiest to develop your database with the table unlinked, then before releasing it to users just create a copy with the table and create the link.
    Thank you. Good explanation. So each user has their own copy of the front end. But what if two users access the same table (in the backend) at the same time? Can this cause problems? Can this be prevented? How does Access deal with this possibility?

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Accessing same table is not an issue, editing the same record can be.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  11. #11
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    Quote Originally Posted by June7 View Post
    Accessing same table is not an issue, editing the same record can be.
    1. Awesome. This is very helpful to know. So if accessing the same record is problematic, how does Access deal with this?

    2. Suppose one user is already working on record #75. Then sometime later a second user attempts to access record #75. Is it possible to program Access so that when the 2nd user attempts to access record #75, they are not allowed to and they receive a message box saying that "another user is already working with the record you are attempting to access, please wait and try again later."

  12. #12
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Access will notify users if they are attempting to edit same record at same time. One user's edits will not be saved.

    Doesn't actually have to be two people editing the record. This conflict can be instigated by bad programming.

    We really don't have this issue. Our business process makes it very unlikely for more than one person to be working with the same record at same time.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Build Simple Database for me? Paid
    By faodavid in forum Access
    Replies: 1
    Last Post: 08-05-2014, 07:24 AM
  2. first attempt to build a database but need alot of help !
    By komet122 in forum Database Design
    Replies: 3
    Last Post: 03-07-2013, 12:09 PM
  3. Build Database for Business
    By aggiemarine07 in forum Access
    Replies: 3
    Last Post: 11-07-2012, 03:50 PM
  4. Seeking someone to help me build my own database
    By Meat4grinder in forum Access
    Replies: 7
    Last Post: 08-11-2012, 10:04 PM
  5. Replies: 3
    Last Post: 10-26-2011, 07:02 AM

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