A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Last Update



 
 
Thread Tools Display Modes
  #1  
Old April 9th, 2008, 08:00 PM posted to microsoft.public.access.tablesdbdesign
Ben
external usenet poster
 
Posts: 536
Default Last Update

I have a memo field that is tracking the history of action items. I want to
create a field called "Last Update". I want to be able to enter information
in that field and view it on a report. After that, I want to be able to
click a button and add the information in the Last Update field to the end of
the information in the memo field.

For Example:

History

blah blah blah

Last Update

Added code to software.

After I click a button, I want the information in Last Update to be appended
to the end of the History field. And Last Update to clear.
  #2  
Old April 9th, 2008, 09:33 PM posted to microsoft.public.access.tablesdbdesign
Evi
external usenet poster
 
Posts: 898
Default Last Update

The code behind the button will say

Me.[YourMemoField'sName] = Me.[YourMemoField'sName] & " " & Me.[Last Update]

Having said this, I'll add that this is probably not a good idea.
Surely, you really need a table that records these updates so that each
update is another record in the table. So one table will contain your Items,
this table will contain the Primary Key of the Items table as a *Foreign Key
Field* and the Last Update field.

Once that data has been stuffed into your memo field, it will be very
difficult to get out again and you will neither be able to search or sort
it.
As I tell my children - you will be sorry!
Evi

"Ben" wrote in message
...
I have a memo field that is tracking the history of action items. I want

to
create a field called "Last Update". I want to be able to enter

information
in that field and view it on a report. After that, I want to be able to
click a button and add the information in the Last Update field to the end

of
the information in the memo field.

For Example:

History

blah blah blah

Last Update

Added code to software.

After I click a button, I want the information in Last Update to be

appended
to the end of the History field. And Last Update to clear.



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.