Petr Danes
Registered User.
- Local time
- Today, 19:44
- Joined
- Aug 4, 2010
- Messages
- 151
No. All machines on which I run this act the same way. The end user is stuck in 2007, so when I develop a new version on my modern laptop with 365, I run it through an old server on which I also still have 2007, and then send it to him. The problem occurs on all of them.Do you have any machines that DON'T exhibit the behavior? When theDBguy says it works OK for him, that eliminates some possible cases. For instance, working on one machine but not two others sounds like a configuration issue, which is in turn usually caused by either having an old library or having an issue among the library references. The installed libraries stay with the machines even if you move this monolithic app of yours. What happens is if you take the app from place to place, it upgrades its libraries where needed. BUT if you move the app back to a lower version, the libraries do not automatically downgrade.
You said "one of my users has an older one..." which is of uncertain semantics. Do you mean that another of your users has some version on which this problem does NOT occur?
Earlier (post #18) you showed us a DCount( "1", "Prilohy" ) and that made me pause for a moment. Do you actually have a field named "1" in that table? Because that is the syntax you presented. The thing that is interesting in DCount is that you could miss extant records counting that way because if there is a null involved, DCount won't count it UNLESS you were doing a DCount ("*", "Prilohy").
The only thing I can see that might be influencing something is that the problematic table is in a relationship. But it is on the 'one' side, and the table on the 'many' side gets emptied first, so it shouldn't be running into any cascading conflicts.
The DCount only counts records. I have to put something in that first field or DCount complains. I use "1" as a placeholder, when I'm not interested in any specific field. But putting in a name of one of the actual fields gives the same result. The issues with an actual field name and nulls could result in an undercount, but that's not an issue for this situation - all fields in this table are required.