Results 1 to 3 of 3

Thread: [RESOLVED] [Access] Recordset with Parameters

  1. #1

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Resolved [RESOLVED] [Access] Recordset with Parameters

    Is it possible to open it through the recordset object, or will I have to use a command to open the recordset?

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  2. #2
    Fanatic Member Dnereb's Avatar
    Join Date
    Aug 2005
    Location
    Netherlands
    Posts
    863

    Re: [Access] Recordset with Parameters

    In ADO:
    No recordsets in itself do not have a parameter collection.
    You can use a command with parameters to fill a recordset.

    In DAO:
    You can set the parameters of a predefined Query and open it in a recordset.
    why can't programmers keep and 31 Oct and 25 dec apart. Why Rating is Useful
    for every question you ask provide an answer on another thread.

  3. #3

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: [Access] Recordset with Parameters

    Thanks - was using ADO so had to create a command, put the parameters in, then execute, setting it to the recordset object.

    But I thought I'd ask (because last time I used parameters was in DAO).

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

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