Results 1 to 4 of 4

Thread: ADODC and MS Access with Parameters

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    155

    ADODC and MS Access with Parameters

    Hi:
    I'm currently modifying and old program. The database control and management were all using Early Binding with ADODC.

    To modify all with ADO Object are monumental task!

    So I'm asking FOR HELP! How can I do this:

    ADODC.RECORDSOURCE=QUERY + parameter (---> MS Access Query at database with parameter)

    How can i pass the parameter/s to the Query?

    Thanks

    Simon

  2. #2
    Hyperactive Member
    Join Date
    Aug 2004
    Location
    Bloomingdale, IL USA
    Posts
    284

    Re: ADODC and MS Access with Parameters

    I don't understand what you mean by "passing the parameters"... wouldn't those be included in the WHERE clause of your query? I need more specifics on what you are trying to accomplish.

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: ADODC and MS Access with Parameters

    Have a look at my signature, it includes a link for a tutorial on Adding records to a database, it includes using a parameter, you can use it as a guide.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4
    Fanatic Member Wen Lie's Avatar
    Join Date
    Jul 1999
    Location
    Singapore
    Posts
    524

    Re: ADODC and MS Access with Parameters

    Quote Originally Posted by simon ong View Post
    Hi:
    I'm currently modifying and old program. The database control and management were all using Early Binding with ADODC.

    To modify all with ADO Object are monumental task!

    So I'm asking FOR HELP! How can I do this:

    ADODC.RECORDSOURCE=QUERY + parameter (---> MS Access Query at database with parameter)

    How can i pass the parameter/s to the Query?

    Thanks

    Simon
    Did you mean you have the query already at MS-ACCESS ?
    why don't you build the query with ADO Recordset code ? so you don't need to pass it the parameter to your MS-Access build-in query ?

    Regards,
    Willy

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