Adding Text to a memo field from a ListBox or ComboBox

R

robboll

I have a table: tblTemplates with two fields TemplateName and Template.

text field memo field

TEMPLATENAME TEMPLATE
------------ --------
Signature John Doe
Administrator

MaintPlan Server Name:
Database Name:
Database Size:
etc etc etc

Using either a combobox or a listbox, when the user clicks on
"Signature", the signature

John Doe
Administrator

is added to the bottom of the existing text.

Thanks for any assistance with this.

RBollinger
 
F

fredg

I have a table: tblTemplates with two fields TemplateName and Template.

text field memo field

TEMPLATENAME TEMPLATE
------------ --------
Signature John Doe
Administrator

MaintPlan Server Name:
Database Name:
Database Size:
etc etc etc

Using either a combobox or a listbox, when the user clicks on
"Signature", the signature

John Doe
Administrator

is added to the bottom of the existing text.

Thanks for any assistance with this.

RBollinger

Code the AfterUpdate event of the Combo Box:
Me![MemoField] = Me![MemoField] & vbNewLine & Me!ComboName

Substitute the actual names of your fields.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top