Jump to content
Sign in to follow this  
moscas

Query Access Database

Recommended Posts

moscas

can be queried to select, insert, update a database access?

Share this post


Link to post
Share on other sites
moscas

nothing for access database? I managed to open only with SQL lite database in memory but not save as *. mdb

Share this post


Link to post
Share on other sites
GEOSoft

Try the functions in this link

http://dundats.mvps.org/autoit/udf_code.aspx?udf=access

I forget what is in there and I don't support it any longer. As a matter of fact, you may be the last poerson that gets to download it, as well as many other bits of code from the site.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
moscas

==> Error opening the file.: 
#include <AccessConstants.au3>

Share this post


Link to post
Share on other sites
GEOSoft

That's probably because you didn't download the whole package. Download the zip file (Download button or download link at the bottom). and place both files in your AutoIt3\include folder


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
l4tran

Hi,

I'm having a problem just opening the database. I'm using Access 2000. What seems to be the problem?

#include <Access.au3>

Const $dbname = "C:\Khanh\naildata.mdb"

Const $tblname = "Services"

$cfields = _accessCountFields($dbname, $tblname)

Error message:

C:\Program Files (x86)\AutoIt3\Include\Access.au3 (689) : ==> The requested action with this object has failed.:

$oADO.Open ($adSource)

$oADO.Open ($adSource)^ ERROR

Share this post


Link to post
Share on other sites
GEOSoft

See my previous reply and make sure you have the constants file in the include folder.

Also, this has never been tested on Office 2000 by me. I don't know if others have tried it or not.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×