Home > Back-end >  Delphi - use the button to SQL execution loop
Delphi - use the button to SQL execution loop

Time:10-14

Statement I am a newcomer:
Just want to click on the button, a statement (such as: insert into tablename values (1, 2, 3)) of SQL table shows 10 lines,

CodePudding user response:

Is inserted into the 10 lines? Cycle can be 10 times,

CodePudding user response:

How do loop, not ah, online Numbers are generally attached value, I attached value statement is an error, can you write?

CodePudding user response:

Please help, so late, should sleep,

CodePudding user response:

reference u010750982 reply: 3/f
please help ah, so late, should sleep,

Learn some basic, then look for the book

CodePudding user response:

refer to the second floor u010750982 response:
how do loop, not ah, online Numbers are generally attached value, I attached value statement is an error, can you write?

How do you write and post

CodePudding user response:

reference 4 floor Oraclers response:
Quote: reference u010750982 reply: 3/f

Please help ah, so late, should sleep,

Learn some basic, then look for the book
again busy also want to take time to read,

CodePudding user response:

Don't understand your request, whether continuous insert into tablename values (1, 2, 3) ten times and then displayed?
If so, you can consider this

 
Var
I: integer;
The begin
For I:=0 to 10 do
The begin
//your code: such as insert into tablename values (1, 2, 3)
end;

//the last display code: such as select * from tablename


CodePudding user response:

I the above reply, a less
 end; 


Strange, why the webmaster BBS don't allow yourself to change, at least in the case of no one add floor, can be allowed to change, or allowed to change after the Posting of 1 minute,

  • Related