Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Data entry automation using python
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jimbo  
View profile  
 More options Jul 2, 3:41 pm
From: Jimbo <jims2...@gmail.com>
Date: Wed, 1 Jul 2009 22:41:02 -0700 (PDT)
Local: Thurs, Jul 2 2009 3:41 pm
Subject: Data entry automation using python
Hi,

I am trying to automate data entry into an Access form. I would like
to develop a python script to read values from an Excel spreadsheet
and pass them onto fill the fields in an Access form which would then
be saved and move onto to the next record. Is this achieveable using
python? I am a beginner and any help would be appreciated.

Cheers
Jimmy


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Theodore  
View profile  
 More options Jul 2, 5:42 pm
From: Tony Theodore <tony.theod...@gmail.com>
Date: Thu, 2 Jul 2009 17:42:31 +1000
Local: Thurs, Jul 2 2009 5:42 pm
Subject: Re: [pyxl] Data entry automation using python
2009/7/2 Jimbo <jims2...@gmail.com>:

> Hi,

> I am trying to automate data entry into an Access form. I would like
> to develop a python script to read values from an Excel spreadsheet
> and pass them onto fill the fields in an Access form which would then
> be saved and move onto to the next record. Is this achieveable using
> python? I am a beginner and any help would be appreciated.

> Cheers
> Jimmy

Do you really need to automate entry into the forms, or just get the
data into the database? Having played a little with win32com
(https://sourceforge.net/projects/pywin32/), I'd say it's definitely
possible. Having worked with Access forms, I would try writing
directly to the underlying tables first.

Regards,

Tony


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Withers  
View profile  
 More options Jul 2, 5:48 pm
From: Chris Withers <ch...@simplistix.co.uk>
Date: Thu, 02 Jul 2009 08:48:17 +0100
Local: Thurs, Jul 2 2009 5:48 pm
Subject: Re: [pyxl] Re: Data entry automation using python

Tony Theodore wrote:
> Do you really need to automate entry into the forms, or just get the
> data into the database? Having played a little with win32com
> (https://sourceforge.net/projects/pywin32/), I'd say it's definitely
> possible. Having worked with Access forms, I would try writing
> directly to the underlying tables first.

Indeed, xlrd to read the data from the excel file and something like
mxODBC to put it into Access would be the way I'd go...

Chris


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Machin  
View profile  
 More options Jul 2, 9:40 pm
From: John Machin <sjmac...@lexicon.net>
Date: Thu, 02 Jul 2009 21:40:57 +1000
Local: Thurs, Jul 2 2009 9:40 pm
Subject: Re: [pyxl] Re: Data entry automation using python
On 2/07/2009 5:48 PM, Chris Withers wrote:

> Tony Theodore wrote:
>> Do you really need to automate entry into the forms, or just get the
>> data into the database? Having played a little with win32com
>> (https://sourceforge.net/projects/pywin32/), I'd say it's definitely
>> possible. Having worked with Access forms, I would try writing
>> directly to the underlying tables first.

> Indeed, xlrd to read the data from the excel file and something like
> mxODBC to put it into Access would be the way I'd go...

pyODBC is another solid ODBC library.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jimbo  
View profile  
 More options Jul 2, 11:02 pm
From: Jimbo <jims2...@gmail.com>
Date: Thu, 2 Jul 2009 06:02:12 -0700 (PDT)
Local: Thurs, Jul 2 2009 11:02 pm
Subject: Re: Data entry automation using python
I was wondering if I could send data from excel cells onto the fields
on access form and click a Save button on the form which would save
the record onto the database. I don't have the rights to do a direct
update of the database

On Jul 2, 9:40 pm, John Machin <sjmac...@lexicon.net> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JimM  
View profile  
 More options Jul 2, 11:53 pm
From: JimM <jim.mo...@bancvue.com>
Date: Thu, 2 Jul 2009 06:53:28 -0700 (PDT)
Local: Thurs, Jul 2 2009 11:53 pm
Subject: Re: Data entry automation using python
If you're familiar with COM, then yes it can be done.

You must have a whale of a lot of data entry to do!  Maybe it might be
worth your while talking to someone who can give you access to the
underlying tables. (I use pyODBC to get to the underlying tables.)

Jim

On 2 July, 08:02, Jimbo <jims2...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Theodore  
View profile  
 More options Jul 2, 11:55 pm
From: Tony Theodore <tony.theod...@gmail.com>
Date: Thu, 2 Jul 2009 23:55:52 +1000
Local: Thurs, Jul 2 2009 11:55 pm
Subject: Re: [pyxl] Re: Data entry automation using python
2009/7/2 Jimbo <jims2...@gmail.com>:

> I was wondering if I could send data from excel cells onto the fields
> on access form and click a Save button on the form which would save
> the record onto the database. I don't have the rights to do a direct
> update of the database

That makes it more difficult. If it's a learning exercise, win32com or
either of these:

http://www.tizmoi.net/watsup/intro.html
http://www.brunningonline.net/simon/blog/archives/winGuiAuto.py.html

would be worth investigating, but will probably test your patience.

As an aside, most Access forms I've seen are bound to their tables, so
if you have rights to the form, you probably can write to the tables.
That said, if the forms do a lot of pre-processing, it may not be a
good idea to update tables directly.

Regards,

Tony


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Burke  
View profile  
 More options Jul 3, 10:38 am
From: Daniel Burke <dan.p.bu...@gmail.com>
Date: Fri, 3 Jul 2009 10:08:45 +0930
Local: Fri, Jul 3 2009 10:38 am
Subject: Re: [pyxl] Re: Data entry automation using python
If you have the Access app, then you can crack it open and the
credentials for the database will be inside.... or the usual case is
the credentials are in the ODBC connection that the Access app is
bound to. Even if the database is seriously messed up, it will usually
be easier to write code to write straight to it than it will be to
interact with COM. AFAIK you will have to either use very in-depth
tools to figure out the internal names of the buttons, or view the
Access source. No matter which route you will go, you'll be reading
the Access source. Personally I'd use pyodbc as Access uses "Jet",
which rather than throwing your SQL at the database, instead pulls the
entire table over the network*, and does the comparisons locally (can
you say slow as a dead snail?). You will find that where the Access
app took half a second to several seconds to respond to a data entry
action, using pyodbc directly will be measured in miliseconds per
input.

* this is just my experience, you may be using magic jet, which works
properly. I haven't seen it.

regards,

dan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jimbo  
View profile  
 More options Jul 8, 3:10 pm
From: Jimbo <jims2...@gmail.com>
Date: Tue, 7 Jul 2009 22:10:40 -0700 (PDT)
Local: Wed, Jul 8 2009 3:10 pm
Subject: Re: Data entry automation using python
thanks all for your expert opinions and help...i am shrugging off my
lethargy tonight to learn some Python tonight...I shall post queries
as I run into difficulties...

cheers
Jimbo

On Jul 3, 10:38 am, Daniel Burke <dan.p.bu...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google