473,503 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Date Problems With MS Access 2007 Runtime

2 New Member
Hello all,

I have a problem with distributing an Access 2007 application with the latest version of Access 2007 Runtime.

What is happening that a date field on a form, whose default value is set to today's date using =Date() is not working. Nothing appears in the field for a new record (nor any error). I have tried setting its value from VBA for a new record, using the form's OnCurrent event, but that does not work either.

I have tried using =Now() and =DateValue(Now()) instead, but neither worked.

The field behaves perfectly before packaging the database. Therefore the error is in the Runtime environment somewhere.

Failure of date functions in Access is highly indicative of a broken reference. However, in the case of this database, there are no broken references. The only references being used are VBA, the Access 12.0 object library, the Excel 12.0 object library and the OLE Automation Library. None of these is showing as "Missing". There are no other "Missing" references in the References list. I did not expect any though, as the database works perfectly before packaging. I have deselected the Excel and OLE Automation references and tested - no difference.

To make matters worse, the problem only appears on *some machines*. The others are fine. All machines are running Win XP. I suspect some DLL version difference somewhere, but have no idea which DLL might be causing the error.

This error has been experienced by other people, if one searches the web, but it appears that no satisfactory nor universal solution has been found.

Does anybody have any ideas about a solution for this problem?

Many thanks

Andy.
Dec 30 '10 #1
2 2804
repath
14 New Member
Hello Andy Briggs,
if you are using any database then, the following solution works well.
In the table (from which you are populating values into the form), create a date column (with some temp name like jdate or dDate or the like) and put the Date value in the table with the above said functions like NOW() or DATE().
Now update this value from table to the respective field on the Form.

I hope this will solve your problem.

With Regards
Repath Athyala.
www.Repath.WordPress.com
Dec 31 '10 #2
Andy Briggs
2 New Member
Hi Repath,

Many thanks for your reply - it is much appreciated. Your solution sounds logical and I shall certainly try it when I am back at work next week.

Do you have any idea why exactly this error occurs in the first place, or what might be different on the affected machines to cause this error? I'm asking just in case there is anything I can do in the future to stop this error occurring (like distributing a particular version of a DLL, for example).

Thanks again and a very happy new year to you

Andy.
Dec 31 '10 #3

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

Similar topics

4
2217
by: Tom van Stiphout | last post by:
Is there such a thing, so we can deploy Access 2007 applications to desktops that don't have the full version installed? I searched MSFT.com, and found very little about this subject. -Tom.
17
7646
by: Neil | last post by:
A client of mine likes some of the new bells and whistles in Access 2007, and is thinking about converting our A03 format MDB to an A07 format file. However, while some of the users have A07, many...
4
5284
by: David Kates | last post by:
I was one of the few who was able to download the Access 2007 runtime when it was available for a short time. I installed it but cannot figure out how it runs an Access 2007 database. There is no...
0
1343
by: Wayne | last post by:
I've noticed that the Access 2007 Runtime forces "Clear"Type on the user. Is there any way to stop ClearType being used when a database is opened using the runtime?
1
4662
by: rickcross | last post by:
I am trying to use the Access 2007 runtime. I have a program that is fully working in 2007 but when I install the runtime version with same Operating system and Access 2003 installed I have...
1
2411
by: ARC | last post by:
So the long-awaited Access 2007 runtime SP-1 was released a couple days ago. I think the process will be to load SP1 for your development copy of Office 2007, then recompile your app, download the...
1
2648
by: Skeptik | last post by:
Is it possible to run Access 2000 .mde file on a PC that has only Access 2007 runtime installed?
0
1423
by: Chris O'C via AccessMonster.com | last post by:
I wouldn't install the Access 2007 runtime on the same system where Access 2007 retail is already installed because it might cause conflicts. I'd either install it on another pc or install it on a...
1
4067
by: BL3WC | last post by:
Hi, I'd created a MDE under Access 2003. It is now under testing stage. Some of the users will use Access 2003 runtime and some will use Access 2007 runtime to run this MDE. I installed the...
0
1437
by: Tom Gibbons | last post by:
I have an application in Access 2007. I have split the files and created a distributable package that includes Access 2007 Runtime. The front end is linked to tables in an .mdb file from Access...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7349
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
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5594
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,...
0
4688
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
3177
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...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
399
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.