[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Problems going from Access 2003 to 2010

Posted on 2012-03-16
3
Medium Priority
?
1,465 Views
Last Modified: 2012-06-27
Hi

I installed Office 2010 including Access over Ofice 2003, and I get a number of problems with some apps which worked flawlessly under 2003:
- first problem was with PtrSafe, that was easy to fix
- second problem was with an MS progress meter (of class MSComctlLib.ProgCtrl.2), which did not work any more because the .Value attribute was not a valid attribute at run time. What's the natural replacement in 2010 for an "old" progress meter ? Or is there a way to have the old one working ?
- When I tried to repalce that progress meter with an ActiveX ProgView class (hoping it was a progress meter...), Access told me the OLE server was missing and I should reinstall it. How do I do that ?
- When running code which saves form fields to a SQLServer DB, some text box fields returned padded with a lot of trailing spaces, so that they are too long for the corresponding DB field (same symptom as when one declares a field in the DB as char(x) instead of varchar(x)and fetches the DB field content, only here it's the other way around: a new, empty field is populated based on a fixed value list with items of, say, length 1, but the reurned field contant has a length of 8 or 10 characters because of the trailing spaces). Which text box attribute is causing that, and why are only certain text boxes affected and not all ?

Thanks for your help.
Bernard
0
Comment
Question by:bthouin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 85
ID: 37731453
You have several questions in here. EE really works much better when you ask one question per posting.

However:

Is this a 64 bit machine, running 64 bit Office? If so, then you can't use the ActiveX controls you mention (and you shouldn't be using them in access anyway, since they're not built for that platform). Instead, use one of the "native" methods of showing a Progress bar.

Is this a Bound form application (i.e. you have a Recordsource for the Form, and a ControlSource for your controls)?
0
 
LVL 1

Author Comment

by:bthouin
ID: 37732139
Hi

Thanks for answers. I know I asked 3 questions in one post, and there is a reason to that: I am currently on a short holiday in Sweden in a place where there is no land line and virtually no GSM reception, so the Internet down/upload speeds to my USB modem-equipped laptop are measured in double-digits kbps, typically in the 20 to 30 kbps (!), so every post takes ages and is a real torture with the current fancy web sites like the EE site. That's why I packed all in one post.

Yes, it's a 64 bit machine adn Office 2010 64-bit.

What are the "native methods" of showing a progress bar ? Can you be more specific ?

I found the problem on the text and combo boxes. It was my fault. Some of the fields in the DB were wrongly defined with fixed length, and this seemed not to disturb Access 2003 at all, but did really come through with full force in Access 2010. I'll have to check all my 60-odd tables before continuing...

So, there remains only one question now, the one about the progress bar :-)

Regards
Bernard
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 1200 total points
ID: 37734507
Since you're using 64-bit Office, you cannot use ActiveX controls, so that is out. ActiveX controls don't work on the 64-bit platform unless they've been reworked to do so, and very, very few of them have taken this step thus far.

The "native" method involves either (a) using the builtin SysCmd Progress bar or (b) building your own progress bar using boxes and labels and such.

For (a), see this link: support.microsoft.com/kb/210474. It's for Access 2000, but the same concepts apply today.

For (b) see this link: support.microsoft.com/kb/304581. This shows how to build a form-based progress bar. I've also attached a small project that illustrates how to do this.
ProgBar.zip
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question