Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use a UDF in SQL ?
Message
From
31/01/2003 09:42:34
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
How to use a UDF in SQL ?
Miscellaneous
Thread ID:
00747648
Message ID:
00747648
Views:
45
I have a simple SQL statement as:
strSQL = "SELECT SSN, LName_only(Full_name) AS LNAME FROM EMPLOYEES" .
oConn.Execute strSQL

Using VB6, ADO, Access97 MDB data.

Everything works fine, except my UDF LName_only() is UNDEFINED during runtime.
I have tried putting the UDF EVERYWHERE I could think of.
( The UDF merely grabs the first part of a name string up to the comma. )

I must be missing something really basic. Any ideas ?

Thanks much,
Steve H
Steve H
Next
Reply
Map
View

Click here to load this message in the networking platform