Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Modules daovba ado > Undefined funct...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1530 of 1609
Post > Topic >>

Undefined function in expression

by "Salomon Reyes"<sreyes27@[EMAIL PROTECTED] > Aug 3, 2008 at 12:42 PM

I hope someone helps me with this (I've been bugged by this one):


My environment consists of an Access 2003 database which contains some 
stored queries. In particular, the one I'm working with is called 
'viewPatient' which contains some Visual Basic functions. The
'viewPatient' 
query works within Access fine. Unfortunately, I cannot call 'viewPatient'

from Visual Basic 6.0 nor Visual C++ 6.0. I get the error "Undefined 
function 'GetPhone' in expression". viewPatient is a stored query which 
contains 'GetPhone' in it's select statement. Now 'GetPhone' is a Visual 
Basic public function (not a form) that is accessible wihin Access 2003
but 
not to an outside program like Visual Basic 6.0 nor Visual C++ 6.0. I 
thought the problem could be a 'sandbox' problem so I disabled it in the 
registry (value 0). No luck!!! I even tried to bring the public module 
'GetPhone' into my Visual Basic project but no luck either. Can someone 
provide me help with this?

Thank you.
(I'm a newbie to VB)
Edit/Delete Message

url:http://www.ureader.com/gp/1060-1.aspx
 




 2 Posts in Topic:
Undefined function in expression
"Salomon Reyes"  2008-08-03 12:42:44 
Re: Undefined function in expression
"Douglas J. Steele&q  2008-08-03 10:36:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 5:31:41 CST 2008.