Results 1 to 2 of 2
  1. #1
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,142

    Inserting Data From External Program

    I've got a personal project I'm working on and was wondering if I'm headed for trouble.

    I've written a little python gui utility for searching and browsing data from via an online service API.



    Now I'd like to be able to connect to an access db via odbc from python to import data collected using this tool. In fact, I already am doing this.

    My question is there anything I need to be cautious of with using my accdb file with an access front end and a python script (odbc) at the same time? I haven't done anything like this before. Is this a recipe for corruption?

    The workflow would be from the access FE just click a button that uses shell to start the python script. I find the data i need in my python script and click import. The script inserts records into the access db and closes. The access db refreshes and moves on, pretending like we just returned from calling a 'native' modal form.

    It's just me, and personal use. The script wouldn't be rapidly executing tons sql statements or anything like that. The python tool would just import data 1 to 10 records at a time.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    it should work, but backup frequently. Ya never know with these.
    Even without the python, i backup frequently.

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

Similar Threads

  1. Replies: 8
    Last Post: 01-26-2021, 12:20 PM
  2. Open external program and file using VBA
    By bid19123 in forum Programming
    Replies: 2
    Last Post: 09-21-2016, 02:15 PM
  3. Open External program with vba
    By aspen in forum Programming
    Replies: 3
    Last Post: 04-09-2014, 06:08 AM
  4. Replies: 1
    Last Post: 02-08-2012, 01:33 PM
  5. Replies: 4
    Last Post: 05-20-2010, 03:49 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