473,486 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Weird version dependency problems

prn
254 Recognized Expert Contributor
Hi folks,

I've come across a couple of the oddest behaviors that I have ever seen and wondered if anyone else has had anything similar, and if so, whether you have any suggestions for me. I warn and apologize to any brave souls that the following description will be long -- it has to be -- but if you feel brave enough to read it, I will thank you.

Both of the phenomena seem to involve version dependencies. I had been using XP with Office 2003 and have recently upgraded to Win7, still with Access2003 for development. The access application in question has multiple users with different combinations of OS and Office versions. (And, frankly, is really pushing the limits for what an Access application should be expected to do.)

One of my main clients recently got a new computer with Win7. Last week she called and asked about why one field on a particular form (actually a continuous sub-form, which will be interesting later) was not showing. Naturally, it was fine for me, so I trotted on over to see what was going on. My first thought, of course, was that for some reason, the text color was the same as the background color in that text box, so my first test was going to be to select the text and see if that made a difference. To my surprise, as soon as I clicked in the text box, without actually selecting the text, the data became visible (black on light blue as it ought to be). I clicked in some of the other instances of the same field and they became visible too. After doing this to several, I scrolled back up and found that the text in the first couple had disappeared again.

I have tested this with several other users and found that 3 of the 4 with Win7 and Access 2007 show the same weird behavior, but 1 of those 4 gets normal behavior where all of the instances of that field are visible all the time as they should be. Everyone else I have checked, with XP/Access2003, XP/Access2007 and Win7/Access2003 are normal.

I have varied the fonts, font color, background color, screen resolution and "Custom text size (DPI)" (from the Win7 "Personalize" settings) with no differences. Somehow the one user for whom it works must have some different setting, but I have no idea what it could be. Does anyone here have any suggestions?

The other strange thing, which also happens only with the Win7/Access2007 combination also seems to occur only on a single (different) form in a single combobox where the combobox is populated in the usual way. The row source is a table (Delivery_Mode) with a key field and a text field. The control source is a field (CTM_Delivery_Mode) in the table that is the data source for the form and is intended to hold the id to the row source. When my user attempts to populate that field by picking an item in the combobox, she gets the dreaded error message "The Microsoft Access database engine cannot find a record in the table 'Delivery_Mode' with key matching field(s) 'CTM_Delivery_Mode'."

Again, this error occurs only in this one combobox (of all the different comboboxes populated this way) and only on the Win7/Access2007 combination. Other OS/Access version combinations all seem to act normally. Again, I have tested against XP/Access2003, XP/Access2007 and Win7/Access2003 from different workstations. The data for all of them resides in tables linked from SQL Server, not on the individuals' workstations, so I know that the data is not the problem. The configurations tested were using the same build of the Access application. I even relinked the relevant tables just to make sure, but if the links had been bad, I would not have expected to see the relevant data in the first place.

I would be grateful, even thrilled, for any suggestions.

Thanks,
Paul
Dec 30 '09 #1
9 2304
topher23
234 Recognized Expert New Member
For the first issue, I'd check Access's option settings on the PC where the combination is working properly against the settings on one where it's not working properly to see if there are any differences. One checkbox can sometimes make all the difference.

That's all I've got. My company is still testing Office 2007 and Win 7 for compatability with our other business software, so I've yet to encounter any of these issues. Fingers crossed that I'll see very few of them!
Dec 30 '09 #2
ChipR
1,287 Recognized Expert Top Contributor
I haven't run into a combo box problem like that, but you could unbind the combo box and copy the value to a hidden bound textbox after update, after checking for .listindex >= 0.
Dec 30 '09 #3
prn
254 Recognized Expert Contributor
tpoher23: Thanks. I will check those settings. I guess I was lax there. Frankly, I would be very surprised if any of those people had done anything with their option settings, but you're right. And I will check those.

I'm not at all surprised that you have not run into these problems. Each of them is happening to me only in a single field in a single form in an application with approximately 200 forms. (This application has grown way out of the realm of reasonableness.) I'm certainly at least the fifth developer to have worked on this app, so there are way too many different styles of doing almost anything incorporated in it.

ChipR: I did put in a visible textbox bound to the same key field just so I could confirm that CTM_Delivery_Mode was what I expected it to be. And it was. I'd really rather not introduce the extra complexity of an additional AfterUpdate event handler if I don't absolutely have to, but it may be worth trying just to see what happens.

Thanks for the suggestions. I'll let you know if they help.
Paul
Dec 31 '09 #4
ADezii
8,834 Recognized Expert Expert
I had a similar problem back in April of 2006, and unfortunately never resolved it. You can take a look if you like, maybe something will pop out at you:
http://bytes.com/topic/access/answer...-sub-form-data
Dec 31 '09 #5
prn
254 Recognized Expert Contributor
ADezii: That's really wild. Your problem was almost the opposite of mine, with your text disappearing rather than mine being initially invisible and then appearing, but it's just similar enough (underlying data actually present; subform; only one field; the change in visibility occurring as the fields are entered; front-end/back-end architecture; etc.) that one has to think they are related in some way.

The fact that yours occurred using Access2003 whereas mine seems to be occurring only with the Access2007/Win7 combination is a real confounding factor. Tentatively, I think I have to revise my overall hypothesis of this being primarily a version problem to thinking that it may reflect a very obscure longer-standing Access bug that is manifesting itself in my case only in this configuration. However, I'm not sure that I can see any immediate help from that change. :/

Thanks,
Paul
Dec 31 '09 #6
NeoPa
32,556 Recognized Expert Moderator MVP
I don't have any of these problems myself, but I've always found Allen Browne's Database & Training to be a good resource for known Access bugs and features (Scroll down to Flaws in Access section). May be worth checking out.
Jan 6 '10 #7
prn
254 Recognized Expert Contributor
Hi NeoPa,

That's true. Allen Browne's site is a great reference (probably the best single reference site I have found). Unfortunately, I haven't found anything that appears relevant to these particular problems. It's always worth taking another look there. In fact, I just did and noticed a relatively recent topic that looks promising wrt a different issue, so it's good that I looked again anyway.

Thanks,
Paul
Jan 6 '10 #8
NeoPa
32,556 Recognized Expert Moderator MVP
Well Paul, you know it's always much harder to help you experts. The questions are usually a lot clearer and properly explained, but you only ever ask difficult questions because you already know all the basic stuff :D
Jan 6 '10 #9
prn
254 Recognized Expert Contributor
Hi NeoPa,

I'm certainly more than capable of asking dumb questions, sometimes even very clearly. :-/

(But a pointer to Allen Browne's site is hardly ever a bad idea.)

Thanks,
Paul
Jan 6 '10 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1790
by: seajay | last post by:
hi, I am looking for an RPM version of PHP 4.3.10 I am currently running PHP Version 4.2.2 on Red Hat Linux release 9 (Shrike) with Apache/2.0.40 (Red Hat Linux) Is it true that PHP 4.3.10...
5
14558
by: NanQuan | last post by:
I'm hoping someone can help me solve this error since I am at a total loss here. Usually I don't bother posting on any forums or groups on the internet and prefer to solve stuff myself but this is...
5
2763
by: aualias | last post by:
I am getting the following error: Warning: The dependency 'ShoppingCart, Version=1.0.1895.27037, Culture=neutral' in project 'www.sitename.com' cannot be copied to the run directory because it...
1
2582
by: Rob R. Ainscough | last post by:
I keep getting this error message when I build my solution: Error: The dependency 'xxx.xx.xx, Version=1.0.2067.27633, Culture=neutral' in project 'xxx.xx.xx' cannot be copied to the run directory...
13
4949
by: Krzysztof Bartosiewicz | last post by:
Hi! I have a problem with an access database. The database which I designed and made using MS access works perfectly OK on my computer however it is not working at all on computers for which it...
0
2812
by: Michael R. Pierotti | last post by:
Has anyone seen this error before when trying to make the install on a program. ------ Starting pre-build validation for project 'HafaSMPPInstall' ------ WARNING: Unable to find dependency...
12
1741
by: sparks | last post by:
My boss and I both have access 97 and access 2003 installed on our systems. Lately he has been having a lot of problems. Databases that won't close. The database looks like it closes but access...
0
1809
by: P Pulkkinen | last post by:
Dear all, sorry, i know this code is far little too long to debug here, but there is really annoying logical error. If someone debugs this, I really offer warm virtual handshake. What this...
3
1817
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5427
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4863
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3066
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
259
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.