SEO Software
Closed Thread
Results 1 to 4 of 4

Thread: Multiple Record Entry

  1. #1

    Default Multiple Record Entry

    Hi,

    I'm fairly new to ASP and I've developed a basic form which then records the user's entry into an Access Database. What I would like to do however is to repeat the form several times on the page, say 9, in order for users to be able enter multpile records. I would like each entry to be recorded as a new record, so in effect the user could enter 9 records by using the one page.

    I hope that makes sense. Is this possible?? If so, how??

    Thanks in advance.

    JC


  2. Micro Niche Builder

  3. #2
    Fulltime Member Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan's Avatar
    Join Date
    Jan 2009
    Location
    Ayr. Scotland
    Posts
    766
    Thanks
    26
    Thanked 62 Times in 57 Posts
    Blog Entries
    1

    Default

    I am not totally clear on what you are asking, but if I understand correctly you wish to add multiple records to a database. Now I haven't done that before but I think it could be done, but this would require multiple use of the AddNew and Update methods within the asp page as these only work on single records at a time.


    Seen a good post - give some reputation
    Keeping the forum clean - SPAMMERS BEWARE!!

  4. #3

    Default

    I would like a setup were the fields are repeated, so:

    Field one
    Field two
    Field three

    Field one
    Field two
    Field three

    Field one
    Field two
    Field three

    Field one
    Field two
    Field three

    So that the user can enter 1 record, or 2 or 3 or 4 records.

    Does that make sense.

    Cheers,

    John.

  5. #4
    Fulltime Member Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan's Avatar
    Join Date
    Jan 2009
    Location
    Ayr. Scotland
    Posts
    766
    Thanks
    26
    Thanked 62 Times in 57 Posts
    Blog Entries
    1

    Default

    Yes it does now. You would need to be able to check how many records to be updated, and for each one use the AddNew and Update methods.

    For example you could check to see if field 1 on each set had an entry in it, and count how many to include. You would then set up variables to read the contents of the fields for the first record, then add this, repeat for the second and so on until all are entered successfully.


    Seen a good post - give some reputation
    Keeping the forum clean - SPAMMERS BEWARE!!

Closed Thread

Similar Threads

  1. DATA Entry
    By djk in forum Jobs
    Replies: 12
    Last Post: 12-13-2011, 08:18 AM
  2. Replies: 6
    Last Post: 01-30-2010, 09:41 PM
  3. Fourth World Record By 12 Years Old Babar Iqbal
    By Handsome in forum Worldwide News
    Replies: 6
    Last Post: 01-30-2010, 02:35 AM
  4. Jay-Z breaks Elvis album record
    By decipher in forum Entertainment
    Replies: 0
    Last Post: 09-16-2009, 10:51 PM
  5. Peas break chart record in the US
    By decipher in forum Entertainment
    Replies: 0
    Last Post: 08-20-2009, 04:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts