K
karnor
Unregistered / Unconfirmed
GUEST, unregistred user!
Table1.Active := False;
Table1.TableName := 'MemberInfo';
Table1.Filtered := True;
Table1.Filter := 'p_number = ''020720113624000001''';
Table1.Active := True;
Table1.Edit;
TBlobField(Table1.FieldByName('photo')).LoadFromFile('c;/test001.jpg');
Table1.Post;
以上代码是为了解决图片修改,但是系统出现对话框
Couldn't perform the edit because another user changed the record.
这是为什么?
Table1.TableName := 'MemberInfo';
Table1.Filtered := True;
Table1.Filter := 'p_number = ''020720113624000001''';
Table1.Active := True;
Table1.Edit;
TBlobField(Table1.FieldByName('photo')).LoadFromFile('c;/test001.jpg');
Table1.Post;
以上代码是为了解决图片修改,但是系统出现对话框
Couldn't perform the edit because another user changed the record.
这是为什么?