-=-
.
.....
  
 
RSS
Direkomendasikan menggunakan brower Opera/Chrome/Firefox. Resolusi minimal 1024x768 | Powered by ____ |
 
  
 
Nikmati Delphi-ID dalam berbagai versi tampilan :
Basic View (LOW Bandwidth)
Default View (Full)
Mobile Edition
Main Menu
..:: onWebTools ::..
..:: onLastPosts ::..
goto PostTAdvOfficeStatusBar > 'Property ShowSplitter does not exi(0)
 by babypigs
 on 04.Feb at 22:45
goto Post2 query di satu report(1)
 by kepiss
 on 04.Feb at 18:25
goto PostLowongan Kerja IT Coordinator(2)
 by madi
 on 02.Feb at 15:05
goto Postaccess ke foxpro(0)
 by idhiel
 on 02.Feb at 14:29
goto PostASK: TMS TAdvColumnGrid(0)
 by batozai
 on 02.Feb at 14:03
goto Post[ask] buat funtion dengan nilai return berupa record(0)
 by irosyidi
 on 02.Feb at 11:29
goto Posttanya inno setup mentog(5)
 by jowo
 on 01.Feb at 13:11
goto PostMembuat executable Delphi 2009 + dbExpress(0)
 by zuq
 on 01.Feb at 11:41
goto PostKapan ya delphi-id bikin jaket lagi....??(41)
 by sidiq_himura
 on 31.Jan at 17:02
goto PostuniGUI, bikin aplikasi web pakai delphi as easy as ABC(18)
 by R-One
 on 22.Jan at 19:45
goto PostAba(d)ikan: Tempat (wc) umum orang ngaco dan o-on Versi 2(132)
 by asiyrob
 on 20.Jan at 09:53
goto Postkomponen delphi 7(6)
 by idhiel
 on 19.Jan at 18:41
goto Post[HELP] Fungsi komponen DataModule and IBQuery...(0)
 by binyo
 on 19.Jan at 15:43
goto PostKenapa Firebird tidak AutoCommit ????(27)
 by binyo
 on 19.Jan at 15:30

..:: onLast Articles ::..
..:: New Download ::..
Pascal-id.Org
Feeds -  Popular -  Latest
RE: The Longue
5 months, 1 week ago
RE: belajar pascal
5 months, 1 week ago
RE: The Longue
5 months, 1 week ago
RE: belajar pascal
5 months, 1 week ago
RE: Perkenalan dan Absen
5 months, 1 week ago
RE: Alhamdulillah Buka Puasa Bersama
5 months, 1 week ago
RE: تَقَبَّلَ اللهُ مِنَّا وَمِنْكَ - Selamat Hari Raya Idul Fitri
5 months, 1 week ago
Lintas Situs
Feeds -  Popular -  Latest
TSafeMe… BindMe
10 months, 3 weeks ago
TSafeMe… BindMe
10 months, 3 weeks ago
TSafeMe… BindMe
10 months, 3 weeks ago
TSafeMe… BindMe
10 months, 3 weeks ago
PowerLogic SDK
1 year ago
Game/Physics Engine Theory: Subtraction-based Geometry Destruction Transformation (Part 1)
2 months, 4 weeks ago
WMI Tasks using Delphi – Processes
2 months, 4 weeks ago
Memory leaks on OS X
2 months, 4 weeks ago
47 on November 7th, 2011
3 months ago
WMI Tasks using Delphi – Printers and Printing
3 months ago
«
free web site stats and visitor tracking

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ekopranotoOffline
Location:
Post subject: Query penjumlahan data and sort Date  PostPosted: 02/Sep/2010 15:14
onBeginner


Joined: 30-Aug-2010
Posts: 4

Status: Offline
Para Master Delphi mohon bantuannya
aq punya syntaq query semacam ini :

sql.Add('select count(distinct datelog)as absensi from personallog where datelog between :tgl1 and :tgl2 and fingerprintid like '+QuotedStr(''+stnik.Caption+''));

tapi setelah aq run muncul aplikasi message seperti ini :
syntax error missing operator in query expression

mohon petunjuknya untuk pencarian jumlah data , berdasarkan tanggal , dan tanggal itu tidak ada yang boleh sama (database aq manipulasi dari sistem absensi finger print)

trims ...... Smile
 
 View user's profile Send private message  
Reply with quote Back to top
budi_slemanOffline
Location:
Post subject: Re: Query penjumlahan data and sort Date  PostPosted: 05/Sep/2010 08:49
onConfident


Joined: 24-Dec-2009
Posts: 22

Status: Offline
      ekopranoto wrote:
Para Master Delphi mohon bantuannya
aq punya syntaq query semacam ini :

sql.Add('select count(distinct datelog)as absensi from personallog where datelog between :tgl1 and :tgl2 and fingerprintid like '+QuotedStr(''+stnik.Caption+''));

tapi setelah aq run muncul aplikasi message seperti ini :
syntax error missing operator in query expression

mohon petunjuknya untuk pencarian jumlah data , berdasarkan tanggal , dan tanggal itu tidak ada yang boleh sama (database aq manipulasi dari sistem absensi finger print)

trims ...... Smile


mungkin ini
sql.Add('select count(distinct datelog)as absensi from personallog where datelog between :tgl1 and :tgl2 and fingerprintid like '+QuotedStr(''+stnik.Caption+'')+');
kurang tanda '+QuotedStr(''+stnik.Caption+'')+'

maaf kalau salah, soalnya nggak nyoba langsung sih
 
 View user's profile Send private message  
Reply with quote Back to top
hawkeyeOffline
Location:
Post subject:   PostPosted: 05/Sep/2010 13:15
onConfident


Joined: 30-Aug-2007
Posts: 25

Status: Offline
sql.Add('select count(distinct datelog)as absensi from personallog where datelog between :tgl1 and :tgl2 and fingerprintid like '+QuotedStr(''+stnik.Caption+''));

coba yang QuotedStr dijadikan --> QuotedStr("%"+stnik.Caption+"%"). Soalnya gak tahu itu single apostrof (') 2 kali atau double apostrof (") satu kali. setahu saya kalau di dalam sql di delphi untuk menjadikan string dengan menggunakan double apostrof (") bukan single apostrof(').

Misal : sql.Add('SELECT * FROM table_data WHERE nama_orang="BEJO" AND hapus=0');

sebelum dan sesudah bejo menggunakan double apostrof(") kalau di keyboard letak nya di atas petik satu/single apostrof dan dengan menekan tombol SHIFT
 
 View user's profile Send private message  
Reply with quote Back to top
cyber_heckerOffline
Location: Ponti Hot City
Post subject:   PostPosted: 05/Sep/2010 14:10
onProfessional


Joined: 19-May-2005
Posts: 981
Location: Ponti Hot City
Status: Offline
kayaknya error gara-gara ada distinc nya deh.. klo ga ada distinct gimana ?

_________________
 
 View user's profile Send private message Yahoo Messenger MSN Messenger  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic





Powered by PNphpBB2 © 2003-2009 The Zafenio Team
Credits


| Register | Lost Password ? |