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

Can I have an unbound field that will retain the date entered in it until changed?

Maybe this isn't possible, but it can't hurt to ask. I am working on a continous form that maintains a list of room assignments. The room assignments is stored as part of the large primary table, I'll call TblClientDemographics for the post. One of our daily work assignments is to go in and update any of the room assignments that have changed since the day before.

This data changes a lot for some and very little for others. I don't want / need to know when each record has been updated last (plus there is a bunch of other information that changes on a regular basis for some). There are now four of us that cover the updating of the data (use to be just me) and I wanted to create a form that would have just a single "Updated On" field in the Header area so that if any of the four of us go into the form we can see that the update is done or not. I don't need to track any past dates it's just so we know when it was last done as the four of us are in two different locations within the facility.

Any suggestions?

Thanks for the help
Apr 11 '11 #1

✓ answered by TheSmileyCoder

Several options:
If you store for each record, when the record was last updated you could place a textbox with a DMAX function in your header.

You could create a seperate table, with just the single entry, and update that in your forms AfterUpdate. Then make a subform, tied to that table, and insert that subform into your forms header.

5 2355
hype261
207 100+
As far as I know this is not possible. One of my apps has a date time stamp when the app last connected to the master server. All I do is store this value in a table and update it when the user connects. Unbound fields lose there value when access closes.
Apr 11 '11 #2
TheSmileyCoder
2,322 Expert Mod 2GB
Several options:
If you store for each record, when the record was last updated you could place a textbox with a DMAX function in your header.

You could create a seperate table, with just the single entry, and update that in your forms AfterUpdate. Then make a subform, tied to that table, and insert that subform into your forms header.
Apr 11 '11 #3
Stewart Ross
2,545 Expert Mod 2GB
Just to add to what has already been posted, Access users cannot see or share values between their applications in any way except through the tables themselves, or some other shared file accessible to all.

Values in unbound controls only exist in memory on the local PC for the current user, and no-one else.

If you want to have values that persist so that other users can see them you need to include them in the underlying table, as both previous posters have said. It is routine to include a date/time field in table to record a timestamp, updated using (say) the form's After Update event.

Anyhow, it can only be done using a persistent form of data storage such as a timestamp field in a table.

-Stewart
Apr 11 '11 #4
I thought the date would have to be stored in a table, but I hadn't thought about using a subform to bring the data in. That was exactly what I needed. Thanks much.
Apr 11 '11 #5
My concern with doing the auto datestamp After Update is that the Unit assignment is only a small part of a much larger amount of data that does get changed often so that stamp might not be based on the "room assignment" field rather some other part of the record.

Thanks for the input everyone.
Apr 12 '11 #6

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

Similar topics

0
by: Steve | last post by:
I know this might not be the best place to get help for this particular problem, but here goes.. The 2nd edition of ProfessionalCrystal Reports for Visual Studio .NET states "you will learn how to...
1
by: Sandy | last post by:
I am not sure how this even changed but... Until just recently when I went into any database and listed stored procedures I could list by the date which was in the format: mm/dd/yyyy. This...
11
by: deko | last post by:
I need to create different recordsets based on queries that use data from unbound fields in a form. I've discovered that I can't do this, and instead need to save the data in question (usually a...
2
by: Dave Griffiths | last post by:
Access 97 - I have a form with a single unbound text field. I want to have a timer event which periodically saves the contents of that field. But I noticed that if the focus stays on the field then...
5
by: David | last post by:
Hi I seem to be getting nowhere with this. I am opening a form which will be used to input Notes into different fields in a table. My problem is changing the unbound field name to the field name...
0
by: ZRexRider | last post by:
Hi, I have a report driven by a SQL database. I have a populated recordset having a user name and a number of data/time fields. I process these time fields in the report's Detail_Print event. ...
6
lobstah24
by: lobstah24 | last post by:
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...
4
by: Susan Bricker | last post by:
I have a form that displays record information in Continuous Record display (scrollable list). One of the fields in the record is an Integer value called "rcode" (reason code). But, I don't want...
1
by: Ryno Bower | last post by:
Hello, I have a form called "TimesEntry" with buttons and a unbound list box calles lstTimes. This form is to enter times worked from and to and lunch hours etc. So when I enter these times, I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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...
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:
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,...
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...

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.