Results 1 to 3 of 3

Thread: running a function from access

  1. #1

    Thread Starter
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179
    I'm trying to run a function called 'TransferData' from the module 'modTransfer' in an access database.

    I have a connection the this database (via adodb.connection)
    using following source string :
    *
    strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=d:\catfax\whcatfax.mdb"
    *

    I'm able to transfer data from VB to tables in this database. Is it possible to execute the above mentionned function via this connection?

    I've tried: connection.execute ("TransferData")

    Is there a way to execute the function????

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    here is a way to do it, but it does not use ADO:

    http://www.vb-world.net/ubb/Forum3/HTML/002809.html

  3. #3

    Thread Starter
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179
    to clunietp : thx

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