Solved

Auto-insert text to memo field

Posted on 2004-08-02
1
261 Views
Last Modified: 2008-03-17
I *think* what I need is an update append query! - If a user clicks on a command button, I'd like a field in my table (called memotext) to be updated (i.e. be appended to) with the date, time, NT username and a string like "Customer report was printed".

Lap
0
Comment
Question by:Lapchien
1 Comment
 
LVL 32

Accepted Solution

by:
jadedata earned 250 total points
ID: 11694281
I would agree with you..

  UPDATE TableName
  Set [MemoField] = ([MemoField] & vbcrlf & UserName & " - " & DateTime & " - Customer report was printed")
  WHERE ([PrimaryKeyField] = sPKVariableToIDThisRecord)

In addition you are making the edit in a manner consistant with how M$ has recommended,....One swipe edit.

Piece meal or typing edits to memo fields are more prone to corrupting the content of the memo field during edit.

-j-

0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question