PC Review


Reply
Thread Tools Rate Thread

AfterUpdate event (in fronpage)

 
 
Wayne-I-M
Guest
Posts: n/a
 
      27th Oct 2009
Hi

I have a box on an asp form that users can input some text. After they have
inserted the text I would like another box filled with the same text.

The same as in access

Private Sub TextBox1_AfterUpdate()
Me.TextBox2 = Me.TextBox1
End Sub

Of course they can then alter the text in the 2nd box if they wish to but
most people won't.

Thanks for any help

--
Wayne
Manchester, England.

 
Reply With Quote
 
 
 
 
Ronx
Guest
Posts: n/a
 
      27th Oct 2009
Use Javascript in the onchange event is one solution:

<form name="testform" method="post">
<textarea cols="20" name="TextArea1" rows="2"
onchange="document.forms['testform'].TextArea2.value =
document.forms['testform'].TextArea1.value"></textarea><br />
<br />
<textarea cols="20" name="TextArea2" rows="2"></textarea>
</form>

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



"Wayne-I-M" <(E-Mail Removed)> wrote in message
news:1F66064C-7E3D-44EA-8A07-(E-Mail Removed)...
> Hi
>
> I have a box on an asp form that users can input some text. After they
> have
> inserted the text I would like another box filled with the same text.
>
> The same as in access
>
> Private Sub TextBox1_AfterUpdate()
> Me.TextBox2 = Me.TextBox1
> End Sub
>
> Of course they can then alter the text in the 2nd box if they wish to but
> most people won't.
>
> Thanks for any help
>
> --
> Wayne
> Manchester, England.
>

 
Reply With Quote
 
Wayne-I-M
Guest
Posts: n/a
 
      27th Oct 2009
Thank you


--
Wayne
Manchester, England.



"Ronx" wrote:

> Use Javascript in the onchange event is one solution:
>
> <form name="testform" method="post">
> <textarea cols="20" name="TextArea1" rows="2"
> onchange="document.forms['testform'].TextArea2.value =
> document.forms['testform'].TextArea1.value"></textarea><br />
> <br />
> <textarea cols="20" name="TextArea2" rows="2"></textarea>
> </form>
>
> --
> Ron Symonds
> Microsoft MVP (Expression Web)
> http://www.rxs-enterprises.org/fp
>
> Reply only to group - emails will be deleted unread.
>
>
>
> "Wayne-I-M" <(E-Mail Removed)> wrote in message
> news:1F66064C-7E3D-44EA-8A07-(E-Mail Removed)...
> > Hi
> >
> > I have a box on an asp form that users can input some text. After they
> > have
> > inserted the text I would like another box filled with the same text.
> >
> > The same as in access
> >
> > Private Sub TextBox1_AfterUpdate()
> > Me.TextBox2 = Me.TextBox1
> > End Sub
> >
> > Of course they can then alter the text in the 2nd box if they wish to but
> > most people won't.
> >
> > Thanks for any help
> >
> > --
> > Wayne
> > Manchester, England.
> >

> .
>

 
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
AFTERUPDATE Event Wayne Microsoft Access 3 18th May 2009 10:52 PM
Afterupdate event =?Utf-8?B?c3dhcw==?= Microsoft Access Form Coding 6 31st Oct 2006 10:51 PM
Afterupdate event =?Utf-8?B?VHJldmVyIEI=?= Microsoft Access Form Coding 1 19th Aug 2005 09:07 AM
AfterUpdate event ? StupidMe Microsoft Access Forms 1 3rd Sep 2004 03:06 PM
Using the AfterUpdate event =?Utf-8?B?QmV0dGluYQ==?= Microsoft Access Getting Started 4 20th Aug 2004 12:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:46 AM.