PC Review


Reply
Thread Tools Rate Thread

Creating a list of items a person can enter.

 
 
Mufasa
Guest
Posts: n/a
 
      9th Jan 2008
I've got a user object that allows a user to enter a date type, a person's
name and the actual date. I want to have it so that they enter one and then
click a button and it will add another set of fields for them to enter. So
first there would be one set, they click add, then there would be two sets,
click add, then three, ....

The reason for this is that we don't know how many of these they want to
enter. So by creating the objects dynamically, we can in a sense have as
many as they want.

Is there an easy way to do this?

TIA - J.


 
Reply With Quote
 
 
 
 
gnewsgroup
Guest
Posts: n/a
 
      10th Jan 2008
On Jan 9, 3:50 pm, "Mufasa" <j...@nowhere.com> wrote:
> I've got a user object that allows a user to enter a date type, a person's
> name and the actual date. I want to have it so that they enter one and then
> click a button and it will add another set of fields for them to enter. So
> first there would be one set, they click add, then there would be two sets,
> click add, then three, ....
>
> The reason for this is that we don't know how many of these they want to
> enter. So by creating the objects dynamically, we can in a sense have as
> many as they want.
>
> Is there an easy way to do this?
>
> TIA - J.


Do you mean User Control by user object?

You can dynamically create the controls and add them to your page in
the Button's click event handler.
 
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
Creating A List of Items Between Two Numbers SteveC Microsoft Excel Misc 2 8th Mar 2010 01:17 AM
Creating items list with corresponding prices Excel Help Microsoft Excel Worksheet Functions 6 30th Jun 2009 10:54 AM
Query to list items each person is responsible for =?Utf-8?B?THlubmVa?= Microsoft Access Queries 3 6th Jun 2006 01:46 PM
I made a list of suggestions! Can only enter 1-person's birthday =?Utf-8?B?emlwcGl0eWRvZGFkYXk=?= Microsoft Outlook Contacts 1 11th Sep 2005 06:43 AM
Creating / Adding items to a combo box list Ed Microsoft Excel Programming 1 24th Feb 2004 10:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:58 PM.