D
Doug
Even after setting the DB's reference to DAO 3.6, the
following code:
Set qd = db.OpenQueryDef("Bank Contact List Append Query")
qd![Bank Contact ID] = OffList.Column(0)
qd![Bank/Contact ID] = Me![AccountID]
qd.Execute Problem
OffList = OffList.ItemData(1)
OnList = OnList.ItemData(1)
OnList.Requery
OffList.Requery
Causes an error at the QueryDef part. Stating
that "Function or interface marked as restricted".
This code moves the highlighted record in a listbox to
another listblox. I know there exists the Docmd.Openquery
method, but I can't get it to work in this procedure.
Thanks in advance for your help. I really appreciate it.
Doug
following code:
Set qd = db.OpenQueryDef("Bank Contact List Append Query")
qd![Bank Contact ID] = OffList.Column(0)
qd![Bank/Contact ID] = Me![AccountID]
qd.Execute Problem
OffList = OffList.ItemData(1)
OnList = OnList.ItemData(1)
OnList.Requery
OffList.Requery
Causes an error at the QueryDef part. Stating
that "Function or interface marked as restricted".
This code moves the highlighted record in a listbox to
another listblox. I know there exists the Docmd.Openquery
method, but I can't get it to work in this procedure.
Thanks in advance for your help. I really appreciate it.
Doug