Results 1 to 2 of 2

Thread: Executing Access Query that uses a VB function

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Location
    Asia
    Posts
    6

    Angry

    Hi!
    I have written a query inside Access that uses an Access VB Module public function. I use it to do some conditional processing. Although the query works fine through Access, VB reports an "Undefined Function" error
    when I try to execute the query using the
    db.Execute "MyQuery"
    syntax.

    Can someone please help me?

    Is it that I cant use Access defined VB functions within
    queries executed in VB?



  2. #2

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Location
    Asia
    Posts
    6

    I cant do it!


    Well I just found out that Userdefiend functions can only be
    used within Access queries and not within VB executed quries!

    Thanks to anyone who thought of replying!


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