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

Home Posts Topics Members FAQ

Have access recall the last date entered in a form

lobstah24
3 New Member
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 4539
ADezii
8,834 Recognized Expert Expert
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 Recognized Expert Moderator MVP
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
lobstah24
3 New Member
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
lobstah24
3 New Member
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 Recognized Expert Expert
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 Recognized Expert Moderator MVP
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.
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.