Arsip: ajari ya caranya tipe data delphi+ms access
more 17 years ago
pits_its
tolong britau gmana caranya agar saya bisa nulis angka.misal:
1,5 0,56 -3,4,dll dalam databse ms.access dan program delphinya gmana?
tolong banget di bantu baru blajar mas
makasih ya.......
:)
more 17 years ago
irosyidi
maksudna gimana???
kan tinggal ngeset field typenya....
kalo pengen koma ya di kasih float/single/double...
more 17 years ago
pits_its
@herux: Iya nih gak jelas, coba ceritain dari awal ya..... Tetap semangat.. ya...saya coba pke integer dll yg kluar malah pembulatannya misal 1,6 yg kluar 2, 1,2 yg kluar 1 dll. maaf baru blajar jadi kurang paham tpi pngen ngerti. fieldnya udah di set di ms.accessnya tapi gmana di delphinya.pernah di coba pake tipe data:number, propertis:decimal, scale:3, decimal places:3 tpi gmana program delphinya.katanya pake fungsi roundto(). saya blum ngerti soal roundto() soalnya baru blajar ato ada yang lebih baik gmana caranya? tolong ya...... makasih
more 17 years ago
DelphiExpert
MS Access Database:
- Set type field di table anda dengan "Number", pilih sub option (bawah) Field Size jadi Double
Delphi
- Gunakan TADOTable utk load table tsb, gunakan ADOConnection utk connection manager-nya bila perlu
- Pilih table di property "TableName", Active-kan
- Double click ADOTable1, klik kanan di Fields Editor, terus pilih "Add all fields"
- Hoopla, semua fields akan nongol berikut type datanya
- Tambahkan sedikit kecap dan kecrotkan jeruk nipis kalau suka xixix
Kalau ente pake type Integer pasti bilangan pecahan otomatis akan dibulatkan,
Fungsi RoundTo() digunakan utk "Rounds a floating-point value to a specified digit or power of ten using “Banker’s rounding”." see Delphi Help
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 4 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 4 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 5 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 12 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 12 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 12 years ago
Random Topic
- resultset
by muktaf in MySQL more 16 years ago - Group untuk database Oracle mana ya ???
by Chang80 in Kritik & Saran more 18 years ago - Program Message Popup
by Starboard in Hal umum tentang Pascal Indonesia more 19 years ago - Convert dari Rp25.300,00 (string) ke 25300
by jonathan_giuliano in Tip n Trik Pemrograman more 15 years ago - apikasi untuk me-Rename file
by jarangkonek in Tip n Trik Pemrograman more 17 years ago - Hardcoding..
by doqsil in Tutorial & Community Project more 18 years ago - Kasus: Remote Database, perlukah?
by LuriDarmawan in Bedah Kasus more 17 years ago - Licensi Delphi
by farhan_port in Hal umum tentang Pascal Indonesia more 17 years ago - Bagaimana Login dengan User Dari MySQL
by jainul in MySQL more 13 years ago - Tanya: Cara kerja dbImage di Quick Report
by cintik in Hal umum tentang Pascal Indonesia more 18 years ago