Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 9th, 2006, 07:13 AM
Friend of Wrox
Join Date: Dec 2005
Location: CHENNAI, TAMILNADU, India.
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anukagni Send a message via Yahoo to anukagni
Default Auto Dating Field

 Hello Guy's

 I have created an Table with following for Maintaining an for Gatepass : Gatepass No. , Date , Name of the Equipment, Specification,Quantity , Servicing Company, Status (Blocked,Finished)

 And now i want to generate an report in that report i want to get an auto-count day (i.e.) No. of Day from call Booked . I want to how should i created the field and build the expression for this function.

 Pls give the answer if u not able to understand ple reply me..

thanks in advance,
pap Raguv
Reply With Quote
  #2 (permalink)  
Old March 13th, 2006, 09:53 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts


   It sounds like you want to know the number of days from the date of the report back to the date booked. If that is true, then create your report, and add a text box to the report. Then in the text box type =DateDiff("d", [yourdatefield], Date).

   I think that should do it. My syntax may be wrong. Do a search in the help box for DateDiff.

   Also, you can add this column to the query behind the report.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AUTO FORMAT field mfahmyg Access 2 April 4th, 2008 07:24 AM
auto fill field mankoti_mankoti2000 Access 1 May 26th, 2006 08:19 AM
Populate Auto-Number Field JeffGirard Access 2 August 26th, 2005 06:49 AM
Auto update timestamp field TwoNames PHP Databases 2 September 26th, 2004 06:01 PM
Auto Populate a field ? mar0364 Classic ASP Databases 4 July 9th, 2004 11:10 AM

All times are GMT -4. The time now is 02:20 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.