Arsip: nampilin data dari database ke word..???
more 16 years ago
aireda
@ smua.....
aku buat program bwat administrasi siswa. daku pengen ketika seorang siswa melakukan perbuatan yang ga bener, telat bayar spp, de-el-el... program bisa nyetak surat pemberitahuan ke orang tua/ wali. yang daku ingin,pencetakan melalui word, karena ada beberapa isian yang harus di input secara manual. namun,dalam hal personel siswa (nama, NIS, alamat, kelas,dsb) itu ngambil dari database.
nah.... daku dah nyuba gugling, nyari referensi lom ketemu juga. temen nyaranin pake html trus di buka via word melalui delphi. mungkin temen-temen ada yang bantu daku...???
thanks....
more 16 years ago
muktaf
masa ngak ketemu...http://dn.codegear.com/article/10043 atau kalo mau bisa pake componen fastreport / freereport ada component untuk export ke word,excel,html .... Salam
more 16 years ago
betamax
Mungkin maksudnya template surat di MS Word trus bagian Nama, Nim, Etc itu di input dari Delphi gitu ?
jadinya kaya Mailmerge gitu yah ? kalo surat asal font nya ndak terlalu macem macem pake RichEdit cukup kok mas.
Logikanya template default udah di buat dulu kan ?? baku kan ? trus kita mainya di line[x] aja
mungkinmenurutkucaratermudahnyabeginikirakira :
umpama :
RichEdit1.line[1] := ('Jayapura ' + DatetoStr(Now));
RichEdit1.line[2] := ('Kepada YTH : ');
RichEdit1.line[3] := ('Wali Murid Dari :' + TableSiwswa.Fieldvalues['nama'] );
RichEdit1.line[4] := ('Di Tempat' );
RichEdit1.line[5] := ('Selanjutnya Di terusin sendiri' );
RichEdit1.
Kalo Template udah di buat kita pake word, di simpen ke rtf aja gpp.
ato petunjuk detailnya buka delphi, masukin komponen richedit
trus tekan ctrl + f1. :)
with RichEdit1 do
begin
if SelLength <> 0 then
StartPos := SelStart + SelLength
else
StartPos := 0;
ToEnd := Length(Text) - StartPos;
FoundAt := FindText(Combobox2.Text, StartPos, ToEnd, [stMatchCase]);
if FoundAt <> -1 then
begin
SetFocus;
SelStart := FoundAt;
SelLength := Length(combobox2.text);
end;
end;
more 16 years ago
Bahrul_power
Pakai Mail Merge punya MSWord aja, kita tinggal konekkan database kemudian masukan ke MSWord, selesai, ga perlu koding kan.....
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 3 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 4 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
- Form Biasa dengan Form MDI
by cartrun in Tip n Trik Pemrograman more 12 years ago - tentang SMS Gateway
by juniorie in Tip n Trik Pemrograman more 17 years ago - Bingung gmn caranya nampilin 2 buah record kedalam edittext?
by ahmeed in Hal umum tentang Pascal Indonesia more 16 years ago - Cara buat file log
by em052007 in Tip n Trik Pemrograman more 17 years ago - Gimana buat Login beneran ?
by debby in Hal umum tentang Pascal Indonesia more 17 years ago - Print Nota
by reminder2k1 in Reporting more 17 years ago - kenapa Suara lebih dulu daripada label.caption ?
by gormet in Multimedia & Graphic Enhancement more 16 years ago - ?Help Video over ATM?
by ir1keren in Tip n Trik Pemrograman more 16 years ago - gmn cara bikin autonumber tanpa bikin table baru ??
by goodday in Tip n Trik Pemrograman more 18 years ago - Warna Report di Rave sesuai nilai query
by aliexdsg in Reporting more 13 years ago