Domain Manage

asp/checkbox script help

Discussion in 'Scripts and Coding' started by developdomains, Mar 19, 2009.

Thread Status:
Not open for further replies.
  1. developdomains United Kingdom

    developdomains Well-Known Member

    Joined:
    Sep 2006
    Posts:
    1,181
    Likes Received:
    11
    anyone any good with asp?

    got a lil problem that im stuck on, would appreciate anyones help!

    MSN me: justin at montyswheels.com

    cheers
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
     
  3. Skinner

    Skinner Well-Known Member

    Joined:
    Jul 2008
    Posts:
    4,325
    Likes Received:
    81
    Not done asp in 6 years or more but i know the problem you have, detecting he the box is there or not. What you have to do is slam them into an array then loop the array to set a default value then if checked change the value, else you need an if for each them.

    If its only a few then an if exists then true else false works but for large ones you need the array method.

    This is tru of most languages and check boxes :)
     
  4. Skinner

    Skinner Well-Known Member

    Joined:
    Jul 2008
    Posts:
    4,325
    Likes Received:
    81
    Sorry if reply isn't clear my notsosmart phone phone isn't good on acorn or most things really.

    I'll give you a better example later :)
     
  5. developdomains United Kingdom

    developdomains Well-Known Member

    Joined:
    Sep 2006
    Posts:
    1,181
    Likes Received:
    11
    hi mate

    thanks for your replies. basically i have a script that pulls out some records from an access database. each record is listed with a checkbox next to it.

    user then checks which records they want and clicks submit. wot i need is the SQL to pull out the records from the database that correspond to the checkbox ID's (which are all unique and pulled from a DB).

    hope that makes sense.

    cheers
    Justin
     
Thread Status:
Not open for further replies.

Share This Page