Arsip: akses database ms.acces dari delphi

more 17 years ago
artati
temen2 aku masih awam neh soal delphi, kasih tau donk cara ngakses db access dari delphi...??????pleaseeeeeeeeeeeeeeeeeeeeeeee
makasih..banyak tas partisipasinya :wink: :wink:

more 17 years ago
maulaku
pake ADO Tabel
1. buat data di database di microsoft Acces
2. buat tabel
simpan data acces di drive D:
Koneksi
1. Klik ADO => ADO Tabel
2. Kli ConnectionString di Propertis
3. Mak muncul dialom Form1.AdoTableconnection STring
4. Build => Muncul Datlink Properties
5. Klik Tab Provider => Pilih Microsoft Jet 4.0 Ole DB Provider => Klik Next
6. Select enter a Database Name : d:\namadatabasemu
7. User Name: Admin
8. Password di isi kosong
download contohnya di :
http://www.esnips.com/doc/6767833b-d973-4f4b-9532-ca78e103df5c/Koneksi-Database-Microsoft-Acces

more 17 years ago
artati
aku dah coba cara diatas tp tep ga konek.pa aku salah ya???atau harus pake listing program juga???klo ya sekalian ya listing programnya........
truz pake embel-embel lain ga, seperti datasource, table n dbgird..klo ya..di propertiesnya pa yg hrs diisi???
Sorry awam bgt neh.......kasih bantuannya ya.........pleaseeeeeeeee
makasih :lol: :lol:

more 17 years ago
maulaku
masnya udah download contohnya belum di :
http://www.esnips.com/doc/6767833b-d973-4f4b-9532-ca78e103df5c/Koneksi-Database-Microsoft-Acces

more 17 years ago
artati
wah makasih dah kekonek...tapi aku kesulitan lg neh di listing programnya..karena tabel databasenya (TableDataSiswa) undeclared identifier..
var
ada:boolean;
begin
if length(edNIS.Text)>4 then
exit;
ada:=TableDataSiswa.FindKey();
if ada then
begin
beep;
edNIS.Focused;
edNIS.SelectAll;
cmbJK.Text:=TableDataSiswa['JENIS_KELAMIN'];
edNAMASISWA.Text:=TableDataSiswa['NAMA_SISWA'];
exit;
end;
cmbJK.Text:='';
edNAMASISWA.Text:='';
cmbJK.Enabled:=true;
edNAMASISWA.Enabled:=true;
edNAMASISWA.SetFocus;
end.
salahnya dimana ya????truuz..klol field size pada database access bertipe integer berpengaruh ga ke listing program ??? :wink: :wink:

more 17 years ago
ivan
Undeclared identifier: '<element>'
The compiler could not find the given identifier - most likely it has been misspelled either at the point of declaration or the point of use. It might be from another unit that has not mentioned a uses clause.
Coba cek, mungkin ada kesalahan penulisan hal itu sering terjadi kalau ngetik nya terburu-buru.

more 17 years ago
ivan
dari pengalaman sendiri sich field size integer tanpa didefinisikan size nya juga tidak bermasalah. Karena nilai integer sendiri sudah memiliki size sendiri secara default 4 Byte dan BigInt 8 Byte. Beda dengan Varchar yg dihitung 1 byte per character

more 17 years ago
maulaku
kalo pake ADO Table findkey tidak didefinisikan refernsinya :
Undeclared identifier
more ...
- Pages:
- 1
reply |
Report Obsolete
AI Forward

🚀 We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now:
https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD
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
- edit registry (butuh mendadak - skripsi)
by gatotkaca in Tip n Trik Pemrograman more 16 years ago - Ada yang tahu pengganti fungsi SaveKey
by EkoIndri in Tip n Trik Pemrograman more 18 years ago - paradox db error?
by mllozz in Bedah Kasus more 18 years ago - Bgmn Meng copy file (tabel) ke A:
by Edwin2006 in Hal umum tentang Pascal Indonesia more 19 years ago - program mngeluarkn bunyi beep dr pc
by jannah in Hal umum tentang Pascal Indonesia more 17 years ago - Tampilkan Hexadecimal
by om20020 in Tip n Trik Pemrograman more 17 years ago - buat installer program
by alfian in Enginering more 19 years ago - cara menggunakan vcl skin
by comel in Hal umum tentang Pascal Indonesia more 16 years ago - Error Terbilang di Fastreport
by delphi1st in Reporting more 17 years ago - Gimana sih buka komen artikel biar cepet....
by EkoIndri in Kritik & Saran more 19 years ago