-=-
.
.....
  
 
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 Postjumlah komponen maksimal dalam sebuah project(6)
 by d4mnf1y32
 on 21.May at 12:16
goto Posttanya grayscale to biner dengan scanline(1)
 by luckynvic
 on 20.May at 20:44
goto Posttanya looping biner to matriks(1)
 by luckynvic
 on 20.May at 20:10
goto Postsql error:acces denied for user....(2)
 by nasbms
 on 19.May at 16:54
goto Postpemanggilan frame(4)
 by nasbms
 on 19.May at 16:14
goto Posttanya AvLock(0)
 by azuriza
 on 19.May at 11:24
goto PostGet TDBEdit Value Menggunakan LookUp Grid(10)
 by henry_sys
 on 18.May at 11:27
goto Postmenghitung record dalam perulangan(4)
 by idhiel
 on 16.May at 13:53
goto Posttanya ascii(4)
 by mas_kofa
 on 16.May at 12:11
goto PostRawPrint Untuk Delphi XE2(0)
 by adewijaya
 on 15.May at 22:34
goto Postdatabase error..(4)
 by idhiel
 on 15.May at 15:57
goto Postbekasi, pt arila putra mahkota(3)
 by mas_kofa
 on 15.May at 15:37
goto Postbagaimana cara membaca file *.doc dg delphi?(0)
 by ficky
 on 15.May at 06:14
goto Posttanya biner to matriks(13)
 by diandewi
 on 14.May at 20:30

..:: onLast Articles ::..
..:: New Download ::..
Pascal-id.Org
Feeds -  Popular -  Latest
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: Perkenalan dan Absen
8 months, 3 weeks ago
RE: Alhamdulillah Buka Puasa Bersama
8 months, 3 weeks ago
RE: تَقَبَّلَ اللهُ مِنَّا وَمِنْكَ - Selamat Hari Raya Idul Fitri
8 months, 3 weeks ago
Lintas Situs
«
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
jayadi888Offline
Location: Denpasar
Post subject: [tanya] data dbgrid ke new table  PostPosted: 12/Oct/2005 21:03
onKnowledgeable


Joined: 03-Oct-2005
Posts: 149
Location: Denpasar
Status: Offline
Hiiiiii friends
Aku punya dikit masalah nih..... bagaimana ambil semua data dari dbgrid dan masukin semua ke table baru..... jadi data table lama nggak langsung di copy ke table baru tapi via dbgrid

table lama (.xls dan tiap detik berubah) -> dbgrid -> table baru

terimakasih sebelumnya
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
ZeALOffline
Location:
Post subject:   PostPosted: 13/Oct/2005 07:36
onProfessional


Joined: 07-Apr-2005
Posts: 763

Status: Offline
Dengan dbgrid berarti kan dikoneksikan ke TTable atau TQuery dulu melalui DataSource kan?
Langsung aja semua record TTable/TQuery yang dikoneksikan ke DBGrid di transfer langsung ke Table baru...

Tampilan DBGrid sudah pasti mencerminakan TTable/TQuery yang terhubung.. Asal filter/query nya gak berubah...
Jadi setelah di-open dan DBGrid menampilkan semua data yang diinginkan, maka siap untuk ditransfer..

_________________
do i know you?

[ My Blog : http://www.monyetpinter.com ] [ My RPG Project : http://einarc.wordpress.com ] [ FJBex : http://www.fjbex.com ]
 
 View user's profile Send private message  
Reply with quote Back to top
groundersOffline
Location:
Post subject:   PostPosted: 13/Oct/2005 13:11
onKnowledgeable


Joined: 11-Jul-2005
Posts: 159

Status: Offline
Coba kamu pake Batchmode,
Dengan Batch Mode perubahan pada DBGrid tidak secara langsung ke update ke table aslinya. kalo nanti mau diupdate gunakan perintah updateBatch
 
 View user's profile Send private message  
Reply with quote Back to top
jayadi888Offline
Location: Denpasar
Post subject:   PostPosted: 14/Oct/2005 23:24
onKnowledgeable


Joined: 03-Oct-2005
Posts: 149
Location: Denpasar
Status: Offline
      ZeAL wrote:
Dengan dbgrid berarti kan dikoneksikan ke TTable atau TQuery dulu melalui DataSource kan?
Langsung aja semua record TTable/TQuery yang dikoneksikan ke DBGrid di transfer langsung ke Table baru...

Tampilan DBGrid sudah pasti mencerminakan TTable/TQuery yang terhubung.. Asal filter/query nya gak berubah...
Jadi setelah di-open dan DBGrid menampilkan semua data yang diinginkan, maka siap untuk ditransfer..


Kalau seperti diatas sih udah ngerti dikit tapi yang buat gw pusing tuh table berada di 2 koneksi berbeda (1 server mySQl, 1 lagi bukan server tapi file .xls -dan di .xls tabelnya kudu pake [xxxxx] sedangkan di query untuk ke connetion mySQL tidak mengenal tabel [xxxxx] cukup xxxxx aja) gitu lho akar permasalahnya.

Kalau ambil data satu2x dari dbgrid (atau di query satu2x dari .xls -nya) wah makan waktu banyak (tidak efisien), sedangkan data yang berubah dari file .xls otomatis di dbgrid nya setiap 1-2 second.

kalau di batchmov pusing juga.... table dari .xls itu yang buat gw pusing Very Happy, sekarang masih mau coba batchmov pake table alias (untuk .xls)

Ada solusi yang lebih baik ???
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
groundersOffline
Location:
Post subject:   PostPosted: 15/Oct/2005 16:00
onKnowledgeable


Joined: 11-Jul-2005
Posts: 159

Status: Offline
Kenapa gak pake subquery buat memasukkan data dari excell ke MySQL nya, pake MySQL 4.1 ke atas yg udah mendukung subquery. Dari segi waktu kalo pake sub query lumayan cepet
 
 View user's profile Send private message  
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 ? |