473,396 Members | 1,871 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,396 software developers and data experts.

Have access recall the last date entered in a form

lobstah24
OK...I'm new to MS Access but I am progressing pretty well. I've made a small and simple D Base for our church to track member donations. The form used to enter donations has 4 entry boxes...NAME...DATE...AMOUNT...and CATAGORY. Presently I have the date box autocomplete with the current date...which is nice if the secretary enters the donations the day of the service. But if she doesn't she has to change the box for each entry. There is a way (I believe) to only have to change it once and access will remember the last date you entered and make that the default date for the form. I could have sworn I've seen it in my Access for dummies book but I can't find it to save my life. I'm sure it's simple...

Anybody know how?...

Thanks in advance!

L24
Jan 28 '07 #1
6 4534
ADezii
8,834 Expert 8TB
OK...I'm new to MS Access but I am progressing pretty well. I've made a small and simple D Base for our church to track member donations. The form used to enter donations has 4 entry boxes...NAME...DATE...AMOUNT...and CATAGORY. Presently I have the date box autocomplete with the current date...which is nice if the secretary enters the donations the day of the service. But if she doesn't she has to change the box for each entry. There is a way (I believe) to only have to change it once and access will remember the last date you entered and make that the default date for the form. I could have sworn I've seen it in my Access for dummies book but I can't find it to save my life. I'm sure it's simple...

Anybody know how?...

Thanks in advance!

L24
In your Date Field Properties, under the Data Tab, set the
Default Value as follows: =DLast("[DateFieldName]","Table Name")
Jan 29 '07 #2
NeoPa
32,556 Expert Mod 16PB
Try setting the Default property of the DATE field in the table to "=Date()" (quotes not necessary when entering it in design view).
You may want to rename your Cat field to CATEGORY while you're at it ;)
Jan 29 '07 #3
In your Date Field Properties, under the Data Tab, set the
Default Value as follows: =DLast("[DateFieldName]","Table Name")
Thank you so much...it worked like a charm. I've been racking my brain for 2 hours.
Jan 29 '07 #4
I didn't see how to edit my previous post so I'll add another.

Just another thank you for the prompt response. I'll certainly add this site to my favorites and who knows...perhaps someday I can help someone else out...someday.

Thanks again...
Jan 29 '07 #5
ADezii
8,834 Expert 8TB
I didn't see how to edit my previous post so I'll add another.

Just another thank you for the prompt response. I'll certainly add this site to my favorites and who knows...perhaps someday I can help someone else out...someday.

Thanks again...
Our pleasure
Jan 29 '07 #6
NeoPa
32,556 Expert Mod 16PB
I didn't see how to edit my previous post so I'll add another.
This site allows editing of posts for members for only five minutes after the post is originally submitted. Hence the lack of the link.
Otherwise, see ADezii's post for my reply :)
Jan 29 '07 #7

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

Similar topics

3
by: Carlos Marangon | last post by:
Hello! I need some help. How can I recall the last 5 rows from a MySQL table and show them? Where is the FAQs of this newsgroup? Sincerely,
3
by: Wayne Wengert | last post by:
I created a Windows Form with a couple of menu items. I added access keys (e.g. &Clock) and those show up as underlined characters on the development window but not when I run the program. Is there...
3
by: Mary | last post by:
I have an online form that users fill out and upon submission the data goes to an MS access database on our server. One of the fields asks for the date a student needs to take an exam. The...
10
by: G | last post by:
Hi all, I've just upgraded to Access 2000 and it seems that all the wizards do not work. I get error messages saying that they are not installed. I've already done the following: 1....
4
by: jwa6 | last post by:
I have a user/pc specific problem in access. This doesn't occur on any other ( windows xp pc) that I have used the ..mbd on. This involves a query that's using a range of dates as a parm. This...
10
by: sandraz444 | last post by:
I have an expression in the query under my form to autofill the date under a certain condition but it wont write to the underlying table?? The date shows in the form but not the table. Does anyone...
3
by: sail87 | last post by:
I inherited an Access 2003 database and need to change the way a form is sorted. It seems to work like this. There is a table containing work records of work requests. The user fills out a form...
28
Ericks
by: Ericks | last post by:
I want to highlight new data that has been entered in my database since a last meeting so it is easy to see in a subform’s table what info is new. In my database I have a table called...
4
by: gimme_this_gimme_that | last post by:
Is there a way to get the last day of the previous business quarter from DB2? For 10/21/2008 the day would be 9/30/2008. Thanks.
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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.