PC Review


Reply
Thread Tools Rate Thread

Adding content of a field into a begining of a memo field

 
 
=?Utf-8?B?TW9l?=
Guest
Posts: n/a
 
      20th Apr 2007
In a form I have a calculated field that calculates its value using a
DLookup() function. I need the content of this field to show up inside a
memo field which is on the same form and user can add memo after that. I
need this to show up when we create or print a report from this form. How
can I do that?

 
Reply With Quote
 
 
 
 
Hunter57
Guest
Posts: n/a
 
      20th Apr 2007
On Apr 20, 1:52 pm, Moe <M...@discussions.microsoft.com> wrote:
> In a form I have a calculated field that calculates its value using a
> DLookup() function. I need the content of this field to show up inside a
> memo field which is on the same form and user can add memo after that. I
> need this to show up when we create or print a report from this form. How
> can I do that?


If your Memo field is empty, you can Use the After Update Event of
your DLookup Control. One drawback is it will replace anything
already in your Memo field.

Private Sub MyDLookupControlName AfterUpdate()

Me.myMemo = Me.MyDLookupControlName

End Sub

There is a way to add your data to what is in your Memo box without
loosing it, but I am not quite sure I can give you the correct
syntax. Perhaps someone else can help with that. I would like to
know how to do that myself.

Hunter57
http://churchmanagementsoftware.googlepages.com/home


 
Reply With Quote
 
=?Utf-8?B?TW9l?=
Guest
Posts: n/a
 
      20th Apr 2007
Thanks Hunter but it did not work.

"Hunter57" wrote:

> On Apr 20, 1:52 pm, Moe <M...@discussions.microsoft.com> wrote:
> > In a form I have a calculated field that calculates its value using a
> > DLookup() function. I need the content of this field to show up inside a
> > memo field which is on the same form and user can add memo after that. I
> > need this to show up when we create or print a report from this form. How
> > can I do that?

>
> If your Memo field is empty, you can Use the After Update Event of
> your DLookup Control. One drawback is it will replace anything
> already in your Memo field.
>
> Private Sub MyDLookupControlName AfterUpdate()
>
> Me.myMemo = Me.MyDLookupControlName
>
> End Sub
>
> There is a way to add your data to what is in your Memo box without
> loosing it, but I am not quite sure I can give you the correct
> syntax. Perhaps someone else can help with that. I would like to
> know how to do that myself.
>
> Hunter57
> http://churchmanagementsoftware.googlepages.com/home
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding text content to Memo field medirate Microsoft Access Forms 2 28th Mar 2007 05:45 PM
Memo Field - Append Text fields into memo field??? =?Utf-8?B?UGF0IFN0ZXdhcnQ=?= Microsoft Access 1 18th Feb 2007 08:45 PM
Adding text to a memo field =?Utf-8?B?TXItUmUgTWFu?= Microsoft Access 6 25th Apr 2006 12:40 PM
trouble concatenating text of 1 memo field to another memo field in same record via button ghadley_00@yahoo.com Microsoft Access Form Coding 1 9th Nov 2005 11:55 AM
can I add the content of a memo field to an array? Jesper F Microsoft Access VBA Modules 1 10th Jun 2004 05:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:35 AM.