Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed with ApplyUpdate

Status
Not open for further replies.

delphiman

Programmer
Dec 13, 2001
422
ZA

I am using Delphi 6 Enterprise and Interbase 6 and have a working model of a 3-Tier system.

Can anyone please tell me why the following procedure works (as confirmed from a TDBEdit
control on a TForm on the ThinClient) but when I visit tblTRNSFR the UpDate has - in fact -
NOT taken place?

procedure TParentDM.IBFatherDataSetAfterScroll(DataSet: TDataSet);
begin
with ParentDM.IBFatherDataSet do
begin
ParentDM.IBdsTrnsfr.Active := True;
if ParentDM.IBdsTrnsfr.state in dsEditModes then
else
ParentDM.IBdsTrnsfr.edit;
ParentDM.IBdsTrnsfrP_NO.value := ParentDM.IBFatherDataSetP_NO.value;
ParentDM.IBdsTrnsfr.ApplyUpdates;

Thanks in advance.

Terry

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top