Create Cut and Append button (1 Viewer)

lynchoftawa

New member
Local time
Tomorrow, 02:40
Joined
Jan 11, 2011
Messages
3
Hi there, first time user.

I have a form that contains two comments memo boxes. One has the Most Recent Comment, and the other holds the Archive Comments.

What I am trying to build is a button that will cut the comments from the Most Recent Comment memo box, and append them to the top of the Archived Comments memo box.

When I type it out, it sounds too easy, I just can't seem to make it work.

Can somebody please help.

Thanks in advance

LOFT
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 06:40
Joined
Aug 30, 2003
Messages
36,118
How about

Me.ArchiveTextbox = Me.RecentTextbox & vbCrLf & Me.ArchiveTextbox

which should put a carriage return between them.
 

lynchoftawa

New member
Local time
Tomorrow, 02:40
Joined
Jan 11, 2011
Messages
3
Many thanks for your post, this works very well except that it does not create a new line between the recent and archived comments, anyother ideas?

LOFT
 

lynchoftawa

New member
Local time
Tomorrow, 02:40
Joined
Jan 11, 2011
Messages
3
Many thanks for your post, this works very well except that it does not create a new line between the recent and archived comments, anyother ideas?

LOFT

Fixed by adding vbNewLine twice to the line of code. Thanks for your help.

LOFT
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 06:40
Joined
Aug 30, 2003
Messages
36,118
No problem, and welcome to the site.
 

Users who are viewing this thread

Top Bottom