Arsip: membatasi DBGrid

more 11 years ago
wati
Halo suhu delphi....gimana caranya membatasi pengisian data pada DBgrid..misalnya maximal 10 baris untuk mengisi data lewat dbgrid...bila sudah mencapai 10 baris maka akan keluar warning gitu..thanks

more 11 years ago
Goen
Sis,
Blokirnya di event pada TDataset-nya aja. Misal, di OnBeforeInsert:
procedure TFormxyz.TablexyzBeforeInsert(DataSet: TDataSet);
begin
if Dataset.RecordCount >= 10 then Abort;
end;
more ...
- Pages:
- 1
reply |
Report Obsolete
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 2 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 3 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 10 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 10 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 10 years ago
Random Topic
- Parsing Text
by snip3r in Enginering more 15 years ago - PLS Need help with INDY 10 IdTCPServer/Client
by stoopid in Network, Files, I/O & System more 16 years ago - ASK: Grant Role to User Gak Jalan?
by deLogic in FireBird more 16 years ago - Buat alias ADO Dengan Install Shield
by memet in Multimedia & Graphic Enhancement more 16 years ago - Hiruk Pikuk Pesta Rakyat, Legitimate kah....?
by ichan29 in OOT more 13 years ago - format pdf di delphi
by yupi in Tip n Trik Pemrograman more 15 years ago - Dumping MySQL
by n3o_cybertech in MySQL more 15 years ago - TActionManager di Inherited Forms
by Andi in Form Enhancement & Graphical Controls more 16 years ago - FreeReport Variable
by irosyidi in Hal umum tentang Pascal Indonesia more 16 years ago - Menyimpan *.wav di paradox
by abdhe in Bedah Kasus more 15 years ago