SQL查询VB中的MS-Access UDF调用6.如何? [英] MS-Access UDF Call in A Sql Query VB 6.How?

查看:130
本文介绍了SQL查询VB中的MS-Access UDF调用6.如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ms-access中有一个用户定义的函数,我想称之为
Visual Basic 6中的sql查询中的udf.我该怎么办?Pls.Help

I have an User Defined Function in ms-access and i want to call this
udf in a sql query in visual basic 6.How Can I do this?Pls.Help

推荐答案

您可能必须在接收以下内容的数据库中创建querydef udf所需的参数,执行udf并返回值或记录集.调用querydef就像它是ADO的存储过程一样.我不相信您可以在数据库外部直接调用udf.
You will probably have to create a querydef in the database that receives the parameters needed by the udf, executes the udf and returns a value or a recordset. callthe querydef like it was a stored procedure with ADO. I don''t believe you can call the udf directly outside of the database.


这篇关于SQL查询VB中的MS-Access UDF调用6.如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆