473,394 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Date Returns #Name

Friends,
I have created a database in Access 97 based on two splitted files.
This application has been running and used by a couple of hundreds of
users in different Offices around the World. I have just been informed
that in two cases users are having problems in viewing date fields.
What they are seeing is #Name instead of the Date function I have
written behind several fields.

Please note that none of my fields (all text boxes) are named DATE.
They all start with txt and then followed by the name of the function
I need.
For example txtFirstDayOfMonth.

What is strange is that the program is used on a LAN and only one user
out of 20 is having the problem.

All Date and Regional settings are correct and just cannot find the
problem.

I have looked up Google database and found various tips on this.

All users are working on Windows NT, Office 97 and all reference are
correct.
THere are no missing references to map to.

Please, does any one have any idea?
Nov 12 '05 #1
1 10189
Paolo, you say the references are correct, but I think it's worth
double-checking that:

1) The path to each reference is correct, e.g.:
? Dir(Application.References(3).FullPath)

2) There are no other dlls with the same name anywhere on path or in the
Access program folder. Duplicate dlls were a source of failure, esp. in A97
and earlier.

3) The specified dll is the correct version for each reference. (At the same
time, check the service pack of the machines where it fails).
It's less likely that it is a date formatting problem, but today is the
13th. There is still the chance that these workstations are interpreting the
date entries incorrectly and failing because there is no 13th month. If
these text boxes are unbound, setting their Format property to General Date
defines the data type. If they are based on calculated query fields,
wrapping the calculation in CVDate() helps. If they the query has a
parameter, explicitly declare the parameter.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Paolo" <jp***@tin.it> wrote in message
news:9f**************************@posting.google.c om...
Friends,
I have created a database in Access 97 based on two splitted files.
This application has been running and used by a couple of hundreds of
users in different Offices around the World. I have just been informed
that in two cases users are having problems in viewing date fields.
What they are seeing is #Name instead of the Date function I have
written behind several fields.

Please note that none of my fields (all text boxes) are named DATE.
They all start with txt and then followed by the name of the function
I need.
For example txtFirstDayOfMonth.

What is strange is that the program is used on a LAN and only one user
out of 20 is having the problem.

All Date and Regional settings are correct and just cannot find the
problem.

I have looked up Google database and found various tips on this.

All users are working on Windows NT, Office 97 and all reference are
correct.
THere are no missing references to map to.

Please, does any one have any idea?

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Adrian Parker | last post by:
Hi. I have a date time picker in my program which uses ADO to read from an Access database. It works perfectly, unless the database is empty (no records) when opened. When you try to open an...
2
by: Chris Curtis | last post by:
We have a program which is used to upload data to our website. A report file is saved each time and is supposed to reflect the date! Not being a java programmer I think the following code is used...
8
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $...
4
by: Dale | last post by:
Hi Everyone, I've got a form that provides a pop-up calendar for users to select dates for requesting jobs to be completed. The calendar works great, but it unfortunately allows users to select...
6
by: MickG | last post by:
Hi, I am trying to validate these values, this seems to work fine for the phone number and name but I am trying to get the program to fail to submit and set the focus on the date when 2006 is...
14
by: Jon Davis | last post by:
I have put my users through so much crap with this bug it is an absolute shame. I have a product that reads/writes RSS 2.0 documents, among other things. The RSS 2.0 spec mandates an en-US style...
11
by: shsandeep | last post by:
I used the following query to retrieve the date in dd-mon-yyyy format. db2 => SELECT RTRIM(CHAR(DAY(COVG_TYP_STRT_DT))) || '-' || RTRIM(MONTHNAME(COVG_TYP_STRT_DT)) || '-' ||...
9
by: Alok yadav | last post by:
i am using a webservice in which a method is serach. i use this method which accept a argument of date type in dd/MM/yyyy formate. i have a textbox which accept the date from the user, when i...
7
by: erekose666 | last post by:
I need a java prog to do the following: Create class Date with the following capabilities: a) Output the date in multiple formats, such as: MM/DD/YYYY June 14, 2005 DDD YYYY b) Use...
2
by: wevans | last post by:
I have 3 tables, Customer, Offsite Service and service. I need to create a sales report/query based on the results of the user input, which is a date range. I've got it working great with two of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.