Results 1 to 6 of 6

Thread: [RESOLVED] Read/Write from/to an Access database for users who don't have Access

  1. #1

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Resolved [RESOLVED] Read/Write from/to an Access database for users who don't have Access

    I'd like to use Access to store data that can be read from and written to by multiple users of Excel at the same time without the users having to have Access installed. How can I do that?

  2. #2
    PowerPoster Spoo's Avatar
    Join Date
    Nov 2008
    Location
    Right Coast
    Posts
    2,656

    Re: Read/Write from/to an Access database for users who don't have Access

    Marty

    At first glance, I'm thinking ,, is that legal?

    However, upon reflection, I'm thinking that you have Access, and have an
    app that others (who have Excel) can "log into". They only want to see stuff
    in their Excel WB's that somehow take advantage of your Access files.

    Am I close?

    Spoo

  3. #3

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Read/Write from/to an Access database for users who don't have Access

    Yes, I want to store to a database and track the status of transactions that are generated from an Excel workbook. I at first thought of using a shared workbook as the database to store the transaction statuses and actually developed a first draft but I saw too many people who warned that shared Excel workbooks were prone to crashing so I thought I'd pursue Access.

  4. #4
    PowerPoster Spoo's Avatar
    Join Date
    Nov 2008
    Location
    Right Coast
    Posts
    2,656

    Re: Read/Write from/to an Access database for users who don't have Access

    Marty

    I'm still a little fuzzy about how other users communicate with your
    computer, but that can wait a while.

    FWIW, I'm familiar with Access 2003 (albeit DAO) and Excel 2003, and
    using VB6 to read/write from/to both.

    If those are useful/available to you, where would you like to start?

    Spoo

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Read/Write from/to an Access database for users who don't have Access

    all that's needed is the database and the appropriate drivers (either the older Jet or the newer ACE, depending on the version of the database) ... that's it... nothing more. Access is just a front end to the database.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Read/Write from/to an Access database for users who don't have Access

    no different to working with any database in vb6, just add a reference to ADO (or later version)
    create a connection object and recordset objects as required
    access database can work with multiple users (not too heavy usage, or some other database would be a better choice)
    no requirement for any user to have Accesss installed
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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
  •  



Click Here to Expand Forum to Full Width