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

Home Posts Topics Members FAQ

Date/Time Stamp in a Report

Greetings. I have a report (actually all of my reports in an MDB) that
I want to date/time stamp at the bottom.

Previously, I had used the builtin function of Now(). I thought that
would give me a date and time value in the format: "month day, year
hour:minutes:seconds". However, I noticed that only the date was
printing (e.g.; January 23, 2006). This is in Access 2000.

BTW ... The way I display the date/time stamp in a text field with the
ControlSource set to "=Now()" in the properties window while in Design
Mode.

So ... in order to get the time value added to the display I changed the
ControlSource to

=Date() & "...." & Time()

Funny thing, though ... the time (hh:mm:ss) value changes on every
printed page. I would have like to keep the time value the same for the
entire printed report.

I am running this on Access 2000.

1. Any ideas why this is happening?
2. Is there a way to get the same timestamp on every page of a printed
report?

Thanks, much.
Sue

Regards,
SueB

*** Sent via Developersdex http://www.developersdex.com ***
Dec 22 '06 #1
1 7271
On 22 Dec 2006 14:27:58 GMT, Susan Bricker wrote:
Greetings. I have a report (actually all of my reports in an MDB) that
I want to date/time stamp at the bottom.

Previously, I had used the builtin function of Now(). I thought that
would give me a date and time value in the format: "month day, year
hour:minutes:seconds". However, I noticed that only the date was
printing (e.g.; January 23, 2006). This is in Access 2000.

BTW ... The way I display the date/time stamp in a text field with the
ControlSource set to "=Now()" in the properties window while in Design
Mode.

So ... in order to get the time value added to the display I changed the
ControlSource to

=Date() & "...." & Time()

Funny thing, though ... the time (hh:mm:ss) value changes on every
printed page. I would have like to keep the time value the same for the
entire printed report.

I am running this on Access 2000.

1. Any ideas why this is happening?
2. Is there a way to get the same timestamp on every page of a printed
report?

Thanks, much.
Sue

Regards,
SueB

*** Sent via Developersdex http://www.developersdex.com ***
If you wish the current date and time to print on the report, then
=Now() is the correct expression. You somehow must have set the Format
property of that control to show just the date portion. Set the format
of the control to :
mmmm d, yyyy hh:nn:ss AM/PM

Since Now() returns the current date and time, it will increment the
time value each time the control is printed.

To show the time as of the first instance the report is run, leave
that control source blank.
Code the Report Header Format event:
Me![ControlName] = Now()

As the Report header is run just once, the time on each page will
remain the same.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Dec 22 '06 #2

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

Similar topics

7
by: Garyrek | last post by:
Hi I have a requirement where I need to make a report for each auto dealer how many hits they got on specified date range, so for each car detail page I increment the counter and total it while...
7
by: Don | last post by:
Hi all, With regards to the following, how do I append the datetimestamp to the filenames in the form? The files are processed using the PHP script that follows below. Thanks in advance,...
6
by: Mike Charney | last post by:
Is there a way to check a files date and time stamp from VBA in access. I have a need check a date stamp on a file that I am importing. Thanks in advance, Mike m charney at dunlap hospital...
5
by: Des | last post by:
I have to do an events calender for a church. The events display will be limited to that week. If someone went in today Wed 24th I want to display 21st to 27th. I dont want any code samples, just...
3
by: phried1 | last post by:
I have created a form and inserted the following tables: Date Entered Time Entered Date Modified Time Modified Essentially how and where can I have these dates and times recorded so when the...
4
by: SilentThunderer | last post by:
Hey folks, Let me start out by letting you know what I'm working with. I'm building an application in VB 2005 that is basically a userform that employees can use to "Clock in". The form...
2
by: favor08 | last post by:
7/19/2007 12:46:30 am. is in a field called CmplteDte. It is a date stamp of when the user completed the item. I need the time for a report but for a form that the supervisors use to QA the previous...
1
by: 6afraidbecause789 | last post by:
Hi - I am using a Date/Time Picker popup form for users to choose a a date and time for use on a separate entry form. The date/time on the entry form is actually entered automatically as a...
16
by: W. eWatson | last post by:
Are there some date and time comparison functions that would compare, say, Is 10/05/05 later than 09/22/02? (or 02/09/22 format, yy/mm/dd) Is 02/11/07 the same as 02/11/07? Is 14:05:18 after...
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
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...
1
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...
0
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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.