Recordset被锁定以进行编辑(DAO) [英] Recordset is locked for editing (DAO)

查看:47
本文介绍了Recordset被锁定以进行编辑(DAO)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我使用以下代码选择记录集

展开 | 选择 | 换行 | 行号

解决方案

@Martin Lang


有几个问题您在使用此代码的事件是什么?

我还想知道表格Halvfabrikat是否也可以。在构建的查询中使用(如果您构建了一个)或者如果这是表单Record Source属性中使用的表。


@Denburt


您好Denburt,


感谢您的关注。


表" halvfabrikat"在查询biult中使用。


代码中没有涉及的表单。它是一种更新。常规。


Martin


如果需要,这是完整的代码

展开 | 选择 | Wrap | 行号

Hi,

I am using following code to select a recordset

Expand|Select|Wrap|Line Numbers

解决方案

@Martin Lang
A few questions what event are you using this code in?
I would also like to know if the table "Halvfabrikat" is used in the query built (if you built one) or if that is the table used in the forms Record Source property.


@Denburt
Hi Denburt,

Thank you for showing interest.

Table "halvfabrikat" is used in the query biult.

There is no form involved in the code. It is a kind of "Update" routine.

Martin


Here is the whole code if needed

Expand|Select|Wrap|Line Numbers


这篇关于Recordset被锁定以进行编辑(DAO)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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