|
 |
asp_databases thread: Writing to a form
Message #1 by "Torben" <mathiesen@p...> on Sat, 28 Oct 2000 12:37:12 +0100
|
|
I have created a form, and wish to add data to the form, one record at a
time. I will use 4 buttons to get previos, next and so on.
How do I write data to the form fields? (I have given the fields a unik
name)
Please help
Torben
Message #2 by Gregory_Griffiths@c... on Sat, 28 Oct 2000 15:17:26 +0100
|
|
you can either resend the form with the VALUE attributes of the form
elements set or you can send a page which using some client side code
to copy across the vars.
> -----Original Message-----
> From: mathiesen@p... [mailto:mathiesen@p...]
> Sent: 28 October 2000 12:37
> To: asp_databases@p...
> Subject: [asp_databases] Writing to a form
>
>
> I have created a form, and wish to add data to the form, one
> record at a
> time. I will use 4 buttons to get previos, next and so on.
>
> How do I write data to the form fields? (I have given the
> fields a unik
> name)
>
> Please help
>
> Torben
>
>
Message #3 by Yoram Zehavi <YoramZ@i...> on Sat, 28 Oct 2000 16:14:07 +0200
|
|
you can store the recordset in an array (javascript array) and use dhtml to
put the right values in the right fields, or to create a new recordset every
time you press on the button (what mean you need to refresh the page)
-----Original Message-----
From: Torben [mailto:mathiesen@p...]
Sent: Saturday, October 28, 2000 1:37 PM
To: ASP Databases
Subject: [asp_databases] Writing to a form
I have created a form, and wish to add data to the form, one record at a
time. I will use 4 buttons to get previos, next and so on.
How do I write data to the form fields? (I have given the fields a unik
name)
Please help
Torben
Message #4 by "Dallas Martin" <dmartin@z...> on Sat, 28 Oct 2000 14:06:18 -0400
|
|
Can't you use XML in ADO to persist the data on the client?
And then use either JavaScript, VBScript or Java to change
the values of the form's fields?
----- Original Message -----
From: <Gregory_Griffiths@c...>
To: "ASP Databases" <asp_databases@p...>
Sent: Saturday, October 28, 2000 10:17 AM
Subject: [asp_databases] RE: Writing to a form
> you can either resend the form with the VALUE attributes of the form
> elements set or you can send a page which using some client side code
> to copy across the vars.
>
> > -----Original Message-----
> > From: mathiesen@p... [mailto:mathiesen@p...]
> > Sent: 28 October 2000 12:37
> > To: asp_databases@p...
> > Subject: [asp_databases] Writing to a form
> >
> >
> > I have created a form, and wish to add data to the form, one
> > record at a
> > time. I will use 4 buttons to get previos, next and so on.
> >
> > How do I write data to the form fields? (I have given the
> > fields a unik
> > name)
> >
> > Please help
> >
> > Torben
> >
> >
> ---
> FREE SOFTWARE DEVELOPMENT CODE, CONTENT, AND
> INSIGHTS IN YOUR INBOX!
> Get the latest and best C++, Visual C++, Java, Visual Basic, and XML tips,
tools, and
> developments from the experts. Sign up for one or more of EarthWeb?s
> FREE IT newsletters at http://www.earthweb.com today!
$subst('Email.Unsub')
|
|
 |