如何通过sql向access数据库插入超链接?

发布于 2024-09-04 19:29:02 字数 202 浏览 1 评论 0原文

我有一个相当简单的 MS Access 数据库,其中包含有关一堆文档的一些元数据以及链接到网络驱动器上的文档的超链接字段。

但是,当我使用 SQL INSERT 语句填充超链接字段时,我给它的值仅成为显示文本,而不是实际链接。

如何使该值成为功能性超链接?我认为超链接数据类型实际上会创建超链接。

我使用的是 Access 2002 SP3。

I have a fairly simple MS Access Database that contains some metadata about a bunch of documents and a hyperlink field that links to the document on our network drive.

However, when I use a SQL INSERT statement to populate the hyperlink field, the value I give it only becomes the display text, not the actual link.

How can I make the value a functional hyperlink? I'd think that the hyperlink data type would actually create hyperlinks.

I'm using Access 2002 SP3.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梅窗月明清似水 2024-09-11 19:29:02

我不喜欢超链接字段,它们不方便且难以编辑。使用文本或备注字段并在表单代码中使用 followhyperlink 会更容易。话虽这么说,超链接的格式是:

DisplayPart#hyperlinkpart#

所以

StackOverflow#http://stackoverflow.com#

I do not like hyperlink fields they are inconvenient and difficult to edit. It is much easier to use a text or memo field and use followhyperlink in the code for your form. That being said, the format for a hyperlink is:

DisplayPart#hyperlinkpart#

So

StackOverflow#http://stackoverflow.com#
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文