Toon posts:

[delphi 6] DBnavigator commando's

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hoi,

Ik wil het commando weten om een record toe te voegen. dit kan door op deze knop te klikken :

Afbeeldingslocatie: http://home.soneraplaza.nl/qn/prive/t.kostelijk/tweakers/dbnavigator.jpg

Maar wat is het commando hiervan ?

Verwijderd

ttable.append of ttable.insert, maar er ook zo iets als een helpfile.

Verwijderd

Topicstarter
Op donderdag 22 november 2001 11:03 schreef ItsMeAgain het volgende:
ttable.append of ttable.insert, maar er ook zo iets als een helpfile.
Die is corrupt bij mij :P
Maar evengoed bedankt voor je antwoord.

Verwijderd

Effe knippen, plakken uit de help-file

First, Sets the current record to the first record in the dataset, disables the First and Prior buttons, and enables the Next and last buttons if they are disabled.
Prior, Sets the current record to the previous record and enables the Last and Next buttons if they are disabled.
Next, Sets the current record to the next record and enables the First and Prior buttons if they are disabled.
Last, Sets the current record to the last record in the dataset, disables the Last and Next buttons, and enables the First and Prior buttons if they are disabled.
Insert, Inserts a new record before the current record, and sets the dataset into Insert and Edit states.
Delete, Deletes the current record and makes the next record the current record.
Edit Puts the dataset into Edit state so that the current record can be modified.
Post Writes changes in the current record to the database.
Cancel Cancels edits to the current record, restores the record display to its condition prior to editing, and turns off Insert and Edit states if they are active.
Refresh Refreshes the buffered data in the associated dataset. For TQuery components, this button is disabled unless the RequestLive property is True.

En het is dus TTable.Insert

Verwijderd

Topicstarter
Op donderdag 22 november 2001 11:07 schreef DiFool het volgende:
Effe knippen, plakken uit de help-file

First, Sets the current record to the first record in the dataset, disables the First and Prior buttons, and enables the Next and last buttons if they are disabled.
Prior, Sets the current record to the previous record and enables the Last and Next buttons if they are disabled.
Next, Sets the current record to the next record and enables the First and Prior buttons if they are disabled.
Last, Sets the current record to the last record in the dataset, disables the Last and Next buttons, and enables the First and Prior buttons if they are disabled.
Insert, Inserts a new record before the current record, and sets the dataset into Insert and Edit states.
Delete, Deletes the current record and makes the next record the current record.
Edit Puts the dataset into Edit state so that the current record can be modified.
Post Writes changes in the current record to the database.
Cancel Cancels edits to the current record, restores the record display to its condition prior to editing, and turns off Insert and Edit states if they are active.
Refresh Refreshes the buffered data in the associated dataset. For TQuery components, this button is disabled unless the RequestLive property is True.

En het is dus TTable.Insert
THANKS !

[edit]
Het is gelukt hoor