Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Filter unter Borland C++ Builder 5.0 setzten

Empfohlene Antworten

Veröffentlicht

hey. ich will unter borland nen filter setzten. das soll wie volgt aussehen.

untUebersicht->dbedtSeminar_ID->Text = filter

suche nach filter

dbgrid1 = filter setzten

so solls aussehn. blos halt in quelltext geschreiben. und da dacht ich mir halt setz ich nen filter ein. klapt aber nich so wies soll. es gibt doch noch die möglichkeit mit nem sql-statement oder? kann mir wer helfen?

// man nehme:

// 1x DBGrid

// 1x Query

// 1x DataSource

// 1xButton

// 1xEdit

// im Objektinspektor:

Query->Databasename=ODBC-DatenbankAlias;

// unter einem Button:

DataSource->Dataset=Query;

DBGrid->Datasource=DataSource;

Query->Close;

Query->SQL->Clear;

Query->SQL->Add("select * from SeminarTabellenName where Seminar_ID='" +Edit->Text+"';");

Query->Open;

/* Alternativ kann man auch ÄHNLICHE Datensätze suchen:

Query->SQL->Add("select * from SeminarTabellenName where Seminar_ID LIKE '" +Edit->Text+"';");

sollte SEMINAR_ID kein string sein nutze folgende Zeile:

Query->SQL->Add("select * from SeminarTabellenName where Seminar_ID=" +Edit->Text+";");

oder

Query->SQL->Add("select * from SeminarTabellenName where Seminar_ID LIKE " +Edit->Text+";");

*/

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.