record not found or changed by another user 解决
来源:互联网 发布:网络语cf是什么意思 编辑:程序博客网 时间:2024/05/17 03:04
record not found or changed by another user 解决方法
我在使用三层结构时,有一张表没有主键,用ClientDataset+DatasetProvider+SQLQuery修改数据时,反复提示“record not found or changed
by another user”,把ClientDataset的Indexname赋值后,再把DatasetProvider的UpdateMode设为upWhereChanged后,OK
如果使用的表有主键,需设置ClientDataset 的Indexname后,把DatasetProvider的UpdateMode设为upWhereKeyOnly,才能正确更新
数据。
后来发现前面的认为是错的,需要①把SQLQuery和ClientDataset的主键字段的ProviderFlags设为pfInKey,②把SQLQuery和
ClientDataset的主键字段的KeyFields字段设为主键字段,经反复测试,新增、修改都能成功保存并更新。
- record not found or changed by another user 解决
- [DataSet Error] Record not found or changed by another user
- clientdataset“Record not found or changed by another user”问题
- record not found or changed by another user 解决方法
- 关于Record not found or changed by another user的问题
- 数据保存时,出现‘record not found or changed by another user’错误信息的解决办法
- record not found or changed by another user 没有主键的表解决(外篇)
- 数据保存时,出现‘record not found or changed by another user’错误信息的解决办法
- 数据保存时,出现‘record not found or changed by another user’错误信息的解决办法
- 数据保存时,出现‘record not found or changed by another user’错误信息的解决办法
- 解决record is locked by another user
- 浮点数可能会导致更新ClientDataset出现"Record Changed by Another user"错误
- Bug解决之 Row not found or changed
- record is locked by another user
- record is locked by another user
- Record is locked by another user
- record is locked by another user
- oracle record is locked by another user
- 无意中的小发现——CString 为什么不能使用+号
- Torque 3D/DataBlock
- mysql改数据库的名称
- VC下获取各个驱动器路径,分类及其获取其信息的资料整理
- Delphi 设计模式:《HeadFirst设计模式》Delphi7代码---模板方法模式之CoffeineBeverageWithHook
- record not found or changed by another user 解决
- Delphi TIniFile 类 操作ini配置文件
- “开始”-“运行”命令
- 小议 C#中的“&”按位与运算符
- Using RIL to hangup unwanted calls
- Java实现几种常见排序方法(上)
- 使用Flex Bison 和 LLVM编写你自己的编译器
- VC+MO图形渲染
- 嵌入式设备上的 Linux 系统开发 0