Results 1 to 2 of 2

Thread: ado parameter array

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Norwich, UK
    Posts
    405

    ado parameter array

    i have an ado function, that connects to a db and excutes a storedproc with no params.

    i'd like to pass an array (or some collection) to the function, that contains the 5 fields necessary to create a parameter
    createparameter(name, type, direction, size,value)

    the thing is i'm not sure what sort of collection to use to hold the info.

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131
    Try using a command object - you can attach parameters to it.

    http://www.devguru.com/Technologies/...f/command.html

    HTH

    DJ

Posting Permissions

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



Click Here to Expand Forum to Full Width