delphi clears access data

Updated on technology 2024-02-08
12 answers
  1. Anonymous users2024-02-05

    Executed in one data control.

    alter table name alter column id counter (1, 1).

    That's it. sql_str:='alter table name alter column id counter (1, 1).';

    false;;;

    except

    * Error emptying database. '),'Warning',mb_ok);

    exit;end;

  2. Anonymous users2024-02-04

    with aquery do

    beginclose;;'delete from the table name');execsql;

    end;When this is done, the contents of the table will be cleared without damaging the structure of your table.

  3. Anonymous users2024-02-03

    Clear access data with **. For example, delete from your table name, etc.

  4. Anonymous users2024-02-02

    Directly connected tables can be directly updated to the data in access.

    If you are using ClientDataset, you can compare whether it has been changed row by row and update the data in the database if the amount of data is not too large. If the volume of large data. Generally, it is necessary to set an update field or variable, and only the changed records are updated when updating.

  5. Anonymous users2024-02-01

    access can also use the update statement.,It's okay to really use update.。

  6. Anonymous users2024-01-31

    A very convenient way to do this is the db control, which can modify the data directly!

  7. Anonymous users2024-01-30

    In'drop table'+sghz);This sentence is followed by a sentence execsql;

  8. Anonymous users2024-01-29

    procedure : tobject);

    varsghz:string;

    beginsghz:='Puzzle table';

    with adoquery9 do

    beginclose;

    drop table'+sghz);

    open;showmessage('The problem table in the database has been deleted! ')end;end;

  9. Anonymous users2024-01-28

    What kind of way to look at this?

  10. Anonymous users2024-01-27

    Executed in one data control.

    alter table name alter column id counter (1, 1).

    That's it. sql_str:='alter table name alter column id counter (1, 1).';

    false;;;

    except

    * Error emptying database. Warning',mb_ok);

    exit;end;

  11. Anonymous users2024-01-26

    Why take the first row and the first column?

    You can compensate for a condition to get a record (i.e., a row in **) and then take a field of that record (i.e., a column in **).

  12. Anonymous users2024-01-25

    Add a user field to the data table.

    When a user logs in, a global variable is used to record the user name, and when the user opens the database table, a condition is used to query the data entry entered by the user.

Related questions
19 answers2024-02-08

Install a full version of Office and you have it.

5 answers2024-02-08

Dear, why don't you add points, only with extra points can you be motivated.

25 answers2024-02-08

The blood vessels in the human body are located throughout the body, and they have the role of storing energy, transporting oxygen, and exchanging blood and tissues. However, there is also a lot of garbage in the blood vessels, and the accumulation of garbage will threaten the health of the human body, so what should you eat to know the garbage in the blood vessels? First of all, you should understand what the garbage in the blood vessels is made of, because often eating high-fat foods leads to the accumulation of more and more blood lipids and cholesterol, and the garbage toxins are all blocked in the blood vessels. >>>More

8 answers2024-02-08

1 Custom deletion (i.e., delete which history you want to delete). >>>More

8 answers2024-02-08

The first question: directly right-click the file --- cut, and then enter the D disk and you enter the stored disk and right-click to post it. >>>More