#1   Report Post  
Posted to microsoft.public.word.newusers
mmaphq[_2_] mmaphq[_2_] is offline
external usenet poster
 
Posts: 2
Default 2007 access

Converted our database to 2007 file format & tried to run a word vba program
with the new 'db.accdb' reference. Got a 3343 error. So how to you 'set
object=opendatabase("path/db.accdb")'. TIA


  #2   Report Post  
Posted to microsoft.public.word.newusers
Dian D. Chapman, MVP Dian D. Chapman, MVP is offline
external usenet poster
 
Posts: 89
Default 2007 access

Converted our database to 2007 file format & tried to run a word vba program
with the new 'db.accdb' reference. Got a 3343 error. So how to you 'set
object=opendatabase("path/db.accdb")'. TIA


You posted this to the WORD group. You need to post this Access Q to
the Access group.



Dian D. Chapman
Technical Consultant, Microsoft MVP
MOS Certified Instructor, Editor/TechTrax Ezine
https://mvp.support.microsoft.com/profile/Dian.Chapman

Free PC Tutorials: http://www.mousetrax.com/techtrax
Free Word Tricks eBook: http://www.mousetrax.com/books.html
Optimize your business docs: http://www.mousetrax.com/consulting
Learn VBA the easy way: http://www.mousetrax.com/techcourses.html



  #3   Report Post  
Posted to microsoft.public.word.newusers
ted ted is offline
external usenet poster
 
Posts: 3
Default 2007 access

Don't think so. Its a vba program in word 2007.

"Dian D. Chapman, MVP" wrote in message
...
Converted our database to 2007 file format & tried to run a word vba
program
with the new 'db.accdb' reference. Got a 3343 error. So how to you 'set
object=opendatabase("path/db.accdb")'. TIA


You posted this to the WORD group. You need to post this Access Q to
the Access group.



Dian D. Chapman
Technical Consultant, Microsoft MVP
MOS Certified Instructor, Editor/TechTrax Ezine
https://mvp.support.microsoft.com/profile/Dian.Chapman

Free PC Tutorials: http://www.mousetrax.com/techtrax
Free Word Tricks eBook: http://www.mousetrax.com/books.html
Optimize your business docs: http://www.mousetrax.com/consulting
Learn VBA the easy way: http://www.mousetrax.com/techcourses.html





  #4   Report Post  
Posted to microsoft.public.word.newusers
Dian D. Chapman, MVP Dian D. Chapman, MVP is offline
external usenet poster
 
Posts: 89
Default 2007 access

Don't think so. Its a vba program in word 2007.

True, the VBA code is running in Word, but the error, 3343 is an
Access (or at least a DB) Runtime error that means: "Unrecognized
database format."

It could mean that the DB is corrupt. In which case he might have to
try to copy to a new, blank DB....or use a backup.

However, assuming he's using ADO to connect to the DB via Word, it may
be that the Provider isn't recognizing the new format. I haven't yet
been brave enough to convert any of my Word -- DB ADO projects over
to 2007 DBs, so I haven't been hit with this problem YET. But it may
mean that you need to use a new Provider, versus the one for JET.

But as I said, the Access MVPs may have better info about the 2007
format, as I've been chicken to work with it much yet. And since few
Word users take advantage of ADO DB connectivity, even the Word VBA
group would be better than this new users group, where most Qs are
basic and this is an advanced one.

Here's the connection string for Access 2007. So if this is what the
user has already coded...then my guess is a corrupt DB. Try repairing
or copying to a new DB. Although ya might first want to make a mini
bogus one in 2007 to see if the connection works at all!

http://www.connectionstrings.com/?carrier=access2007

Good luck!

Dian D. Chapman
Technical Consultant, Microsoft MVP
MOS Certified Instructor, Editor/TechTrax Ezine
https://mvp.support.microsoft.com/profile/Dian.Chapman

Free PC Tutorials: http://www.mousetrax.com/techtrax
Free Word Tricks eBook: http://www.mousetrax.com/books.html
Optimize your business docs: http://www.mousetrax.com/consulting
Learn VBA the easy way: http://www.mousetrax.com/techcourses.html



  #5   Report Post  
Posted to microsoft.public.word.newusers
n6trf n6trf is offline
external usenet poster
 
Posts: 7
Default 2007 access


"Dian D. Chapman, MVP" wrote in message
...
Don't think so. Its a vba program in word 2007.


True, the VBA code is running in Word, but the error, 3343 is an
Access (or at least a DB) Runtime error that means: "Unrecognized
database format."


Ok thanks. i did find a 3343 error in access 2000 working with word 2000 &
2002. So some of your comments may be apprpiate. Access 2007 seems to be
running ok so doubt if its corrupted. I will try & repair to see if thats
the problem. i really think that ADO DB connectivity has not been checked
fully. Will try the access people. Thanks


It could mean that the DB is corrupt. In which case he might have to
try to copy to a new, blank DB....or use a backup.

However, assuming he's using ADO to connect to the DB via Word, it may
be that the Provider isn't recognizing the new format. I haven't yet
been brave enough to convert any of my Word -- DB ADO projects over
to 2007 DBs, so I haven't been hit with this problem YET. But it may
mean that you need to use a new Provider, versus the one for JET.

But as I said, the Access MVPs may have better info about the 2007
format, as I've been chicken to work with it much yet. And since few
Word users take advantage of ADO DB connectivity, even the Word VBA
group would be better than this new users group, where most Qs are
basic and this is an advanced one.

Here's the connection string for Access 2007. So if this is what the
user has already coded...then my guess is a corrupt DB. Try repairing
or copying to a new DB. Although ya might first want to make a mini
bogus one in 2007 to see if the connection works at all!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory Access on Word 2007 Jannr Microsoft Word Help 2 September 23rd 07 04:48 PM
Quick Access Toolbar (2007) oldLearner57 Microsoft Word Help 4 August 14th 07 04:56 PM
can't access word 2007 templates [email protected] Microsoft Word Help 0 July 30th 07 03:53 PM
error when trying to access help in word 2007 dstrouse Microsoft Word Help 0 June 7th 07 03:06 AM
Word 2007 Quick Access Bar cfreec Microsoft Word Help 0 May 28th 06 06:23 AM


All times are GMT +1. The time now is 06:00 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"