M
Mark A. Sam
Hello,
In the snippet below I am trying to assign a hyperlink variable to a field
using DAO, but get erro 438:Object doesn't support this property or method.
[txtDoc] is a hypelink value on a form textbox. [Doc] is a hyperlink field
in table Docs.
The error occurs at:
rst![Doc] = hypDoc
'Add hyperlink to Docs table
Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset("Docs", dbOpenDynaset)
Dim hypDoc As Hyperlink
Set hypDoc = [txtDoc].Hyperlink
rst.AddNew
rst![Doc] = hypDoc
rst.Update
Thanks for any help and God Bless,
Mark A. Sam
In the snippet below I am trying to assign a hyperlink variable to a field
using DAO, but get erro 438:Object doesn't support this property or method.
[txtDoc] is a hypelink value on a form textbox. [Doc] is a hyperlink field
in table Docs.
The error occurs at:
rst![Doc] = hypDoc
'Add hyperlink to Docs table
Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset("Docs", dbOpenDynaset)
Dim hypDoc As Hyperlink
Set hypDoc = [txtDoc].Hyperlink
rst.AddNew
rst![Doc] = hypDoc
rst.Update
Thanks for any help and God Bless,
Mark A. Sam