-

  • (102)
  • web- (38)
  • (22)
  • (14)
  • (13)
  • (11)
  • (3)
  • (3)

 - e-mail

 

 -

   community_coding

 -

 LiveInternet.ru:
: 29.12.2004
:
:
: 536

:


?

, 17 2008 . 17:38 +
dandr ?
, Delphi.
Form1, DBGrid False Options|dgEditing.
DBNavigator Button.
: Button ( , , ), DBEdit, .
.., , :
procedure TForm1.Button1Click(Sender: TObject);
begin
Form2.ShowModal;
// nbInsert DBNavigator
// Form2
end;

, - ?






: [1] []
Lightpower   ? , 17 2008 . 17:48 ()
Insert-Post, ShowModal, Form2.OnActivate

SQL


- 2005 -
   
dandr   [TLC] , 17 2008 . 17:55 ()
: Lightpower
Insert-Post, ShowModal, Form2.OnActivate

SQL


- 2005 -
, . ?



   
Lightpower   community_coding; ? , 17 2008 . 18:11 ()
Table1 DataSet-, DBGrid
code:
procedure TForm1.Button1Click(Sender: TObject);
begin Form2.ShowModal;
// , 3 , Integer - String
Table1.Insert;
Table1.FieldByName('Id').AsInteger := StrToInt(Form2.Edit1.Text);
Table1.FieldByName('Name').AsString := Form2.Edit2.Text;
Table1.FieldByName('Desc').AsString := Form2.Edit3.Text;
Table1.Post;




Insert Post try. , , try


- -
   
borisiq   , 17 2008 . 18:26 ()
code:

DataSource1.DataSet.Append;
if Form2.ShowModal = mrOk then
DataSource1.DataSet.Post
else DataSource1.DataSet.Cancel;

   
   ? , 17 2008 . 19:55 ()
   
dandr   [TLC] , 17 2008 . 20:23 ()
: Lightpower
Table1 DataSet-, DBGrid

code:
procedure TForm1.Button1Click(Sender: TObject);
begin Form2.ShowModal;
// , 3 , Integer - String
Table1.Insert;
Table1.FieldByName('Id').AsInteger := StrToInt(Form2.Edit1.Text);
Table1.FieldByName('Name').AsString := Form2.Edit2.Text;
Table1.FieldByName('Desc').AsString := Form2.Edit3.Text;
Table1.Post;




Insert Post try. , , try


- -

Loreleya

, ))


   
dandr   [TLC] , 17 2008 . 20:23 ()
: borisiq
code:


DataSource1.DataSet.Append;

if Form2.ShowModal = mrOk then

DataSource1.DataSet.Post

else DataSource1.DataSet.Cancel;


... , Post?



   
dandr   [TLC] , 17 2008 . 20:23 ()
:
, , )))

....


Loreleya

?


   
   community_coding; ? , 17 2008 . 21:40 ()
   
dandr   [TLC] , 17 2008 . 23:40 ()
!

DataSet.Insert
DataSet.Post
DataSet.Refresh


   
: [1] []
 

:
: 

: ( )

:

  URL