DataSet and DBEdit in different forms



  • I have two forms.Form1 and Form2),
    Form1 components are:

    IBDataSet, DataSource

    Form2 contains components:

    Components of DBComboBox and DBEdit, etc.

    When I filled out everything DBEdit'You're in the last part, allowed. DBEdit And press the "Post" button. DBNavigatorthe record is kept, without the last value I made. DBEdit
    The value may be retained if after completion of the last DBEdit♪ mouse into any other component ♪ DBComboBox and DBEditand then press the "Post" button. DBNavigator

    And the meaning may be retained if I IBDataSetDataSourceI'll take it. Form2

    Has anyone encountered this? And how can this mistake get rid of, left All components on both forms?

    Thank you.



  • Thanks for the answer, I spent the day, but I found... ♪
    I am. DBNavigator, for the password field, there was this line. DBGrid♪ the password field looks like ♪

    procedure TFPeople.dbnavPeopleBeforeAction(Sender: TObject;
      Button: TNavigateBtn);
    begin
      dbedPassword.Field.EditMask := '';
    end;
    

    without her, everything works.

    Well, to remember the only reason I put her tombs... it was a long time ago. ♪

    And how does it work to finish editing? Changes took place before BeforePost:




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2